]> AND Public Git Repository - simgrid.git/blobdiff - src/bindings/lua/lua_utils.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correctly handle lowercase and default values for route/symmetrical.
[simgrid.git] / src / bindings / lua / lua_utils.hpp
index 678bdfa6d2bdf34401846e359b8f6444edce6dcd..1e83b401efbd9619a27572052538361e448f31db 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -9,8 +9,9 @@
 #define LUA_UTILS_HPP
 
 #include <lua.h>
+#include <string>
 
-const char* sglua_tostring(lua_State* L, int index);
-const char* sglua_keyvalue_tostring(lua_State* L, int key_index, int value_index);
+std::string sglua_tostring(lua_State* L, int index);
+std::string sglua_keyvalue_tostring(lua_State* L, int key_index, int value_index);
 
 #endif