Skip to content

Commit

Permalink
Drop parens from JULIA_DEFINE_FAST_TLS in embedding.{c,md} to match r…
Browse files Browse the repository at this point in the history
…ecent redefinition.
  • Loading branch information
Sacha0 committed Jun 21, 2021
1 parent df1150c commit 7366c39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/src/manual/embedding.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ We start with a simple C program that initializes Julia and calls some Julia cod

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

int main(int argc, char *argv[])
{
Expand Down
2 changes: 1 addition & 1 deletion test/embedding/embedding.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <stdio.h>
#include <math.h>

JULIA_DEFINE_FAST_TLS() // only define this once, in an executable
JULIA_DEFINE_FAST_TLS // only define this once, in an executable

#ifdef _OS_WINDOWS_
__declspec(dllexport) __cdecl
Expand Down

0 comments on commit 7366c39

Please sign in to comment.