diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-29 17:29:23 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-29 17:29:23 +0100 |
commit | 53d327679364093e8e1b4c17075633670bea9c83 (patch) | |
tree | c114ec2bec00c7f1cbd1ad4db1439d0b5089c25f /src/state.h | |
parent | 17576c3f6762b5ba0359ddec04f5cd8916d3e2f8 (diff) | |
download | lanes-53d327679364093e8e1b4c17075633670bea9c83.tar.gz lanes-53d327679364093e8e1b4c17075633670bea9c83.tar.bz2 lanes-53d327679364093e8e1b4c17075633670bea9c83.zip |
C++ migration: all enums are enum class
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/state.h b/src/state.h index 0ffab02..0e35e89 100644 --- a/src/state.h +++ b/src/state.h | |||
@@ -1,18 +1,18 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include "threading.h" | ||
4 | #include "deep.h" | ||
5 | |||
6 | #include "macros_and_utils.h" | 3 | #include "macros_and_utils.h" |
7 | 4 | ||
8 | void serialize_require( DEBUGSPEW_PARAM_COMMA( Universe* U) lua_State *L); | 5 | // forwards |
6 | struct Universe; | ||
7 | |||
8 | void serialize_require(DEBUGSPEW_PARAM_COMMA(Universe* U) lua_State* L); | ||
9 | 9 | ||
10 | // ################################################################################################ | 10 | // ################################################################################################ |
11 | 11 | ||
12 | lua_State* create_state( Universe* U, lua_State* from_); | 12 | lua_State* create_state(Universe* U, lua_State* from_); |
13 | lua_State* luaG_newstate( Universe* U, lua_State* _from, char const* libs); | 13 | lua_State* luaG_newstate(Universe* U, lua_State* _from, char const* libs); |
14 | 14 | ||
15 | // ################################################################################################ | 15 | // ################################################################################################ |
16 | 16 | ||
17 | void initialize_on_state_create( Universe* U, lua_State* L); | 17 | void initialize_on_state_create(Universe* U, lua_State* L); |
18 | void call_on_state_create( Universe* U, lua_State* L, lua_State* from_, LookupMode mode_); | 18 | void call_on_state_create(Universe* U, lua_State* L, lua_State* from_, LookupMode mode_); |