From 53d327679364093e8e1b4c17075633670bea9c83 Mon Sep 17 00:00:00 2001 From: Benoit Germain <benoit.germain@ubisoft.com> Date: Fri, 29 Mar 2024 17:29:23 +0100 Subject: C++ migration: all enums are enum class --- src/state.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/state.h') 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 @@ #pragma once -#include "threading.h" -#include "deep.h" - #include "macros_and_utils.h" -void serialize_require( DEBUGSPEW_PARAM_COMMA( Universe* U) lua_State *L); +// forwards +struct Universe; + +void serialize_require(DEBUGSPEW_PARAM_COMMA(Universe* U) lua_State* L); // ################################################################################################ -lua_State* create_state( Universe* U, lua_State* from_); -lua_State* luaG_newstate( Universe* U, lua_State* _from, char const* libs); +lua_State* create_state(Universe* U, lua_State* from_); +lua_State* luaG_newstate(Universe* U, lua_State* _from, char const* libs); // ################################################################################################ -void initialize_on_state_create( Universe* U, lua_State* L); -void call_on_state_create( Universe* U, lua_State* L, lua_State* from_, LookupMode mode_); +void initialize_on_state_create(Universe* U, lua_State* L); +void call_on_state_create(Universe* U, lua_State* L, lua_State* from_, LookupMode mode_); -- cgit v1.2.3-55-g6feb