diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-03 17:48:07 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-03 17:48:07 +0200 |
commit | 2baf7a6e001951d08098149d80d7ce79e7035a16 (patch) | |
tree | b5dfa1ffddac0eaa29fdec5eda3c290b1e58c029 /src/universe.h | |
parent | 09635e063c007c4bda684ee21abb55c7470ee0e0 (diff) | |
download | lanes-2baf7a6e001951d08098149d80d7ce79e7035a16.tar.gz lanes-2baf7a6e001951d08098149d80d7ce79e7035a16.tar.bz2 lanes-2baf7a6e001951d08098149d80d7ce79e7035a16.zip |
New global setting "strip_functions"
Diffstat (limited to '')
-rw-r--r-- | src/universe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/universe.h b/src/universe.h index 7b9f309..4239466 100644 --- a/src/universe.h +++ b/src/universe.h | |||
@@ -133,6 +133,8 @@ class Universe | |||
133 | 133 | ||
134 | bool demoteFullUserdata{ false }; | 134 | bool demoteFullUserdata{ false }; |
135 | 135 | ||
136 | bool stripFunctions{ true }; | ||
137 | |||
136 | // before a state is created, this function will be called to obtain the allocator | 138 | // before a state is created, this function will be called to obtain the allocator |
137 | lua_CFunction provideAllocator{ nullptr }; | 139 | lua_CFunction provideAllocator{ nullptr }; |
138 | 140 | ||