From 6e49d1476e0a400e331b4629a9d4cdd51b77789e Mon Sep 17 00:00:00 2001 From: Sacha Verweij Date: Mon, 21 Jun 2021 18:41:31 -0400 Subject: [PATCH] Drop parens from JULIA_DEFINE_FAST_TLS in embedding.{c,md} to match recent redefinition. (cherry picked from commit 7366c3962e4419a10a96ab8a674b3f05aa2b34e5) --- doc/src/manual/embedding.md | 2 +- test/embedding/embedding.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/manual/embedding.md b/doc/src/manual/embedding.md index fcc9f06536ab3..22c2f66f9b8b0 100644 --- a/doc/src/manual/embedding.md +++ b/doc/src/manual/embedding.md @@ -16,7 +16,7 @@ We start with a simple C program that initializes Julia and calls some Julia cod ```c #include -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[]) { diff --git a/test/embedding/embedding.c b/test/embedding/embedding.c index 205b8a7450211..d1816947f3856 100644 --- a/test/embedding/embedding.c +++ b/test/embedding/embedding.c @@ -4,7 +4,7 @@ #include #include -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