Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not use sg_hosts_as_dynar in C++
[simgrid.git] / src / bindings / lua / lua_utils.cpp
index 82a3689..952f4de 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2019. The SimGrid Team.
+/* Copyright (c) 2010-2020. The SimGrid Team.
  * All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  */
 const char* sglua_tostring(lua_State* L, int index)
 {
-
   static char buff[64];
 
   switch (lua_type(L, index)) {
-
     case LUA_TNIL:
       snprintf(buff, 4, "nil");
       break;
@@ -87,7 +85,6 @@ const char* sglua_tostring(lua_State* L, int index)
  */
 const char* sglua_keyvalue_tostring(lua_State* L, int key_index, int value_index)
 {
-
   static char buff[64];
   /* value_tostring also always returns the same pointer */
   int len = snprintf(buff, 63, "[%s] -> ", sglua_tostring(L, key_index));