From e10bc953babfe63c53950e1df818e042cb1e992f Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Fri, 11 Aug 2017 12:08:37 +0200 Subject: [PATCH 1/1] minimal fix (hopefully) of lua bindings --- src/bindings/lua/lua_platf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bindings/lua/lua_platf.cpp b/src/bindings/lua/lua_platf.cpp index a4b8fac28d..98d866ef48 100644 --- 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); - s_sg_platf_AS_cbarg_t AS; + ZoneCreationArgs AS; 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); -- 2.20.1