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
minimal fix (hopefully) of lua bindings
[simgrid.git]
/
src
/
bindings
/
lua
/
lua_platf.cpp
diff --git
a/src/bindings/lua/lua_platf.cpp
b/src/bindings/lua/lua_platf.cpp
index
a4b8fac
..
98d866e
100644
(file)
--- a/
src/bindings/lua/lua_platf.cpp
+++ b/
src/bindings/lua/lua_platf.cpp
@@
-483,10
+483,10
@@
int console_AS_open(lua_State *L) {
mode_int = A_surfxml_AS_routing_None;
else xbt_die("Don't have the model name '%s'",mode);
mode_int = A_surfxml_AS_routing_None;
else xbt_die("Don't have the model name '%s'",mode);
-
s_sg_platf_AS_cbarg_t
AS;
+
ZoneCreationArgs
AS;
AS.id = id;
AS.routing = mode_int;
AS.id = id;
AS.routing = mode_int;
- simgrid::s4u::NetZone* new_as = sg_platf_new_
AS
_begin(&AS);
+ simgrid::s4u::NetZone* new_as = sg_platf_new_
Zone
_begin(&AS);
/* Build a Lua representation of the new AS on the stack */
lua_newtable(L);
/* Build a Lua representation of the new AS on the stack */
lua_newtable(L);