/* ********************************************************************************* */
/* simgrid API */
/* ********************************************************************************* */
/**
/* ********************************************************************************* */
/* simgrid API */
/* ********************************************************************************* */
/**
* @brief Dumps a lua table with XBT_DEBUG
*
* This function can be called from within lua via "simgrid.dump(table)". It will
* @brief Dumps a lua table with XBT_DEBUG
*
* This function can be called from within lua via "simgrid.dump(table)". It will
int argc = lua_gettop(L);
for (int i = 1; i <= argc; i++) {
if (lua_istable(L, i)) {
lua_pushnil(L); /* table nil */
int argc = lua_gettop(L);
for (int i = 1; i <= argc; i++) {
if (lua_istable(L, i)) {
lua_pushnil(L); /* table nil */
//gets the next pair from the table at the specified index
while (lua_next(L, i)) { /* table key val */
// we need to copy here, as a cast from "Number" to "String"
//gets the next pair from the table at the specified index
while (lua_next(L, i)) { /* table key val */
// we need to copy here, as a cast from "Number" to "String"
*
* This function is called automatically by the Lua interpreter when some
* Lua code requires the "simgrid" module.
*
*
* This function is called automatically by the Lua interpreter when some
* Lua code requires the "simgrid" module.
*