Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
0c323e4c1b2f7156107d2fba05442d2b2db04de4
[simgrid.git] / src / bindings / lua / lua_state_cloner.h
1 /* Copyright (c) 2010-2011, 2013-2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef LUA_STATE_CLONER_H
8 #define LUA_STATE_CLONER_H
9
10 /* SimGrid Lua state management                                             */
11 #include <lua.h>
12
13 int sglua_is_maestro(lua_State* L);
14 lua_State* sglua_get_maestro(void);
15 lua_State* sglua_clone_maestro(void);
16 void sglua_move_value(lua_State* src, lua_State* dst);
17 void sglua_copy_value(lua_State* src, lua_State* dst);
18
19 #endif  /* LUA_STATE_CLONER_H */