Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Actually, upvalues were implemented a while ago.
[simgrid.git] / src / bindings / lua / lua_state_cloner.c
index e33aebb..ce6d83c 100644 (file)
@@ -234,7 +234,6 @@ void sglua_copy_value(lua_State* src, lua_State* dst) {
       break;
   }
 
-  indent -= 2;
   XBT_DEBUG("%sData copied", sglua_get_spaces(indent));
 
   sglua_stack_dump("src after copying a value (should be ... value): ", src);
@@ -422,7 +421,6 @@ static void sglua_copy_table(lua_State* src, lua_State* dst) {
  * @brief Copies the function on the top of src to the top of dst.
  *
  * It can be a Lua function or a C function.
- * Copying upvalues is not implemented yet.
  *
  * @param src source state
  * @param dst destination state