aboutsummaryrefslogtreecommitdiff
path: root/src/macros_and_utils.h
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2023-08-09 12:15:54 +0200
committerBenoit Germain <bnt.germain@gmail.com>2023-08-09 12:15:54 +0200
commitad7258f68ce525845508fc0c4a329c282982ffa0 (patch)
treef6eb169911eef0a776f3b3b00eeb2b7d824ebbd7 /src/macros_and_utils.h
parentd73f4cee37b0a43edadf9709289798ee4bfccc0e (diff)
downloadlanes-ad7258f68ce525845508fc0c4a329c282982ffa0.tar.gz
lanes-ad7258f68ce525845508fc0c4a329c282982ffa0.tar.bz2
lanes-ad7258f68ce525845508fc0c4a329c282982ffa0.zip
new .internal_allocator configuration IUNTESTED)
new configuration option .internal_allocator to help LuaJIT users. THIS IS YET UNTESTED, USE AT YOUR OWN RISKS.
Diffstat (limited to 'src/macros_and_utils.h')
-rw-r--r--src/macros_and_utils.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/macros_and_utils.h b/src/macros_and_utils.h
index 3ed234a..05a46b5 100644
--- a/src/macros_and_utils.h
+++ b/src/macros_and_utils.h
@@ -99,7 +99,4 @@ extern char const* debugspew_indent;
99 99
100#define LUAG_FUNC( func_name) int LG_##func_name( lua_State* L) 100#define LUAG_FUNC( func_name) int LG_##func_name( lua_State* L)
101 101
102// after all, it looks like we can use the state allocator for our own usage when running LuaJIT, as long as we mutex-protect it
103#define USE_LUA_STATE_ALLOCATOR() 1 // (LUAJIT_FLAVOR()==0)
104
105#endif // MACROS_AND_UTILS_H 102#endif // MACROS_AND_UTILS_H