aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
blob: 0ffab023c344c0a36389c3c48f6ff2d383839456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);

// ################################################################################################

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_);