Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
minimal fix (hopefully) of lua bindings
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 11 Aug 2017 10:08:37 +0000 (12:08 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 11 Aug 2017 10:08:37 +0000 (12:08 +0200)
src/bindings/lua/lua_platf.cpp

index a4b8fac..98d866e 100644 (file)
@@ -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);