A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lua: rename simgrid.task.name() to simgrid.task.get_name()
[simgrid.git]
/
src
/
bindings
/
lua
/
lua_state_cloner.h
diff --git
a/src/bindings/lua/lua_state_cloner.h
b/src/bindings/lua/lua_state_cloner.h
index
eb97fd8
..
875fb31
100644
(file)
--- a/
src/bindings/lua/lua_state_cloner.h
+++ b/
src/bindings/lua/lua_state_cloner.h
@@
-4,10
+4,16
@@
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-/* SimGrid Lua state management */
-
+#ifndef LUA_STATE_CLONER_H
+#define LUA_STATE_CLONER_H
+/* SimGrid Lua state management */
#include <lua.h>
#include <lua.h>
+int sglua_is_maestro(lua_State* L);
+lua_State* sglua_get_maestro(void);
+lua_State* sglua_clone_maestro(void);
void sglua_move_value(lua_State* src, lua_State* dst);
void sglua_move_value(lua_State* src, lua_State* dst);
-lua_State* sglua_clone_state(lua_State* L);
+void sglua_copy_value(lua_State* src, lua_State* dst);
+
+#endif /* LUA_STATE_CLONER_H */