diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2023-08-16 09:59:15 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2023-08-16 09:59:15 +0200 |
commit | f7245f66295752306ee58c1a9be0ed01b653e347 (patch) | |
tree | a49bba6ee8948dc87418c1370f2e2f995d70aebf /src/state.c | |
parent | ad7258f68ce525845508fc0c4a329c282982ffa0 (diff) | |
download | lanes-3.16.1.tar.gz lanes-3.16.1.tar.bz2 lanes-3.16.1.zip |
Minor tweaksv3.16.1
Diffstat (limited to '')
-rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index ef70842..21ca397 100644 --- a/src/state.c +++ b/src/state.c | |||
@@ -259,7 +259,7 @@ lua_State* create_state( Universe* U, lua_State* from_) | |||
259 | lua_pushcclosure( from_, U->provide_allocator, 0); | 259 | lua_pushcclosure( from_, U->provide_allocator, 0); |
260 | lua_call( from_, 0, 1); | 260 | lua_call( from_, 0, 1); |
261 | { | 261 | { |
262 | AllocatorDefinition* def = lua_touserdata( from_, -1); | 262 | AllocatorDefinition* const def = lua_touserdata( from_, -1); |
263 | L = lua_newstate( def->allocF, def->allocUD); | 263 | L = lua_newstate( def->allocF, def->allocUD); |
264 | } | 264 | } |
265 | lua_pop( from_, 1); | 265 | lua_pop( from_, 1); |