You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -172,9 +172,9 @@ if(LUAU_EXTERN_C)
172
172
# enable extern "C" for VM (lua.h, lualib.h) and Compiler (luacode.h) to make Luau friendlier to use from non-C++ languages
173
173
# note that we enable LUA_USE_LONGJMP=1 as well; otherwise functions like luaL_error will throw C++ exceptions, which can't be done from extern "C" functions
174
174
target_compile_definitions(Luau.VM PUBLIC LUA_USE_LONGJMP=1)
175
-
target_compile_definitions(Luau.VM PUBLIC LUA_API=extern\"C\")
176
-
target_compile_definitions(Luau.Compiler PUBLIC LUACODE_API=extern\"C\")
177
-
target_compile_definitions(Luau.CodeGen PUBLIC LUACODEGEN_API=extern\"C\")
0 commit comments