Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
There is no need to have these functions 'virtual'.
[simgrid.git] / src / bindings / lua / simgrid_lua.hpp
index c17b53b35cf1c7c61aae9164094686c53d8e4d29..df129c2a3a19ea447440c5c1786a72e643174014 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2021. 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. */
@@ -6,13 +6,13 @@
 #ifndef SIMGRID_LUA_HPP
 #define SIMGRID_LUA_HPP
 
-extern "C" {
-#include <lua.h>
+#include <lua.hpp>
 
 /* ********************************************************************************* */
-/*                           Plaftorm functions                                      */
+/*                           Platform functions                                      */
 /* ********************************************************************************* */
 
+extern "C" {
 int console_open(lua_State* L);
 int console_close(lua_State* L);