aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-03-29 17:29:23 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2024-03-29 17:29:23 +0100
commit53d327679364093e8e1b4c17075633670bea9c83 (patch)
treec114ec2bec00c7f1cbd1ad4db1439d0b5089c25f /src/state.h
parent17576c3f6762b5ba0359ddec04f5cd8916d3e2f8 (diff)
downloadlanes-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.h16
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
8void serialize_require( DEBUGSPEW_PARAM_COMMA( Universe* U) lua_State *L); 5// forwards
6struct Universe;
7
8void serialize_require(DEBUGSPEW_PARAM_COMMA(Universe* U) lua_State* L);
9 9
10// ################################################################################################ 10// ################################################################################################
11 11
12lua_State* create_state( Universe* U, lua_State* from_); 12lua_State* create_state(Universe* U, lua_State* from_);
13lua_State* luaG_newstate( Universe* U, lua_State* _from, char const* libs); 13lua_State* luaG_newstate(Universe* U, lua_State* _from, char const* libs);
14 14
15// ################################################################################################ 15// ################################################################################################
16 16
17void initialize_on_state_create( Universe* U, lua_State* L); 17void initialize_on_state_create(Universe* U, lua_State* L);
18void call_on_state_create( Universe* U, lua_State* L, lua_State* from_, LookupMode mode_); 18void call_on_state_create(Universe* U, lua_State* L, lua_State* from_, LookupMode mode_);