Skip to content

Commit ae6c103

Browse files
authored
Merge pull request #41309 from JuliaLang/fix-def-fast-tls
Drop parens from JULIA_DEFINE_FAST_TLS in embedding.{c,md} to match recent redefinition.
2 parents e4b2411 + 7366c39 commit ae6c103

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/src/manual/embedding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ We start with a simple C program that initializes Julia and calls some Julia cod
1616

1717
```c
1818
#include <julia.h>
19-
JULIA_DEFINE_FAST_TLS() // only define this once, in an executable (not in a shared library) if you want fast code.
19+
JULIA_DEFINE_FAST_TLS // only define this once, in an executable (not in a shared library) if you want fast code.
2020

2121
int main(int argc, char *argv[])
2222
{

test/embedding/embedding.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stdio.h>
55
#include <math.h>
66

7-
JULIA_DEFINE_FAST_TLS() // only define this once, in an executable
7+
JULIA_DEFINE_FAST_TLS // only define this once, in an executable
88

99
#ifdef _OS_WINDOWS_
1010
__declspec(dllexport) __cdecl

0 commit comments

Comments
 (0)