X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d20f024dba9ff1e9c8822237caaf963b9e913889..df078bae24388cc0dd63b2bbafe05897a0dd45f8:/src/bindings/lua/lua_private.hpp diff --git a/src/bindings/lua/lua_private.hpp b/src/bindings/lua/lua_private.hpp index abcfd7070f..3243ec367f 100644 --- a/src/bindings/lua/lua_private.hpp +++ b/src/bindings/lua/lua_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2018. 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. */ @@ -11,16 +11,11 @@ #include "simgrid/msg.h" #include "simgrid_lua.hpp" -extern "C" { - void sglua_register_host_functions(lua_State* L); msg_host_t sglua_check_host(lua_State* L, int index); void sglua_register_platf_functions(lua_State* L); -const char* sglua_get_msg_error(msg_error_t err); -} - #define lua_ensure(...) _XBT_IF_ONE_ARG(_lua_ensure_ARG1, _lua_ensure_ARGN, __VA_ARGS__)(__VA_ARGS__) #define _lua_ensure_ARG1(cond) _lua_ensure_ARGN(cond, "Assertion %s failed", #cond) #define _lua_ensure_ARGN(cond, ...) \