A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove the argc/argv version of simcall_process_create
[simgrid.git]
/
src
/
bindings
/
lua
/
simgrid_lua.cpp
diff --git
a/src/bindings/lua/simgrid_lua.cpp
b/src/bindings/lua/simgrid_lua.cpp
index
846d2b0
..
6ca44ba
100644
(file)
--- a/
src/bindings/lua/simgrid_lua.cpp
+++ b/
src/bindings/lua/simgrid_lua.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2010-201
5
. The SimGrid Team.
+/* Copyright (c) 2010-201
8
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-6,27
+6,25
@@
/* SimGrid Lua bindings */
/* SimGrid Lua bindings */
-#include "lua_private.h"
-#include "lua_utils.h"
+#include "lua_private.h
pp
"
+#include "lua_utils.h
pp
"
#include "src/surf/xml/platf.hpp"
XBT_LOG_NEW_DEFAULT_CATEGORY(lua, "Lua Bindings");
#include "src/surf/xml/platf.hpp"
XBT_LOG_NEW_DEFAULT_CATEGORY(lua, "Lua Bindings");
-extern "C" {
#include <lauxlib.h>
#include <lauxlib.h>
-int luaopen_simgrid(lua_State *L);
-}
+extern "C" int luaopen_simgrid(lua_State* L);
/* ********************************************************************************* */
/* simgrid API */
/* ********************************************************************************* */
/**
/* ********************************************************************************* */
/* simgrid API */
/* ********************************************************************************* */
/**
- *
\
brief Prints a log string with debug level.
- *
\
param L a Lua state
- *
\
return number of values returned to Lua
+ *
@
brief Prints a log string with debug level.
+ *
@
param L a Lua state
+ *
@
return number of values returned to Lua
*
* - Argument 1 (string): the text to print
*/
*
* - Argument 1 (string): the text to print
*/
@@
-38,9
+36,9
@@
static int debug(lua_State* L) {
}
/**
}
/**
- *
\
brief Prints a log string with info level.
- *
\
param L a Lua state
- *
\
return number of values returned to Lua
+ *
@
brief Prints a log string with info level.
+ *
@
param L a Lua state
+ *
@
return number of values returned to Lua
*
* - Argument 1 (string): the text to print
*/
*
* - Argument 1 (string): the text to print
*/
@@
-112,8
+110,8
@@
static const luaL_Reg simgrid_functions[] = {
/* ********************************************************************************* */
/**
/* ********************************************************************************* */
/**
- *
\
brief Makes the core functions available to the Lua world.
- *
\
param L a Lua world
+ *
@
brief Makes the core functions available to the Lua world.
+ *
@
param L a Lua world
*/
static void sglua_register_core_functions(lua_State *L)
{
*/
static void sglua_register_core_functions(lua_State *L)
{
@@
-124,12
+122,12
@@
static void sglua_register_core_functions(lua_State *L)
}
/**
}
/**
- *
\
brief Opens the simgrid Lua module.
+ *
@
brief Opens the simgrid Lua module.
*
* This function is called automatically by the Lua interpreter when some
* Lua code requires the "simgrid" module.
*
*
* This function is called automatically by the Lua interpreter when some
* Lua code requires the "simgrid" module.
*
- *
\
param L the Lua state
+ *
@
param L the Lua state
*/
int luaopen_simgrid(lua_State *L)
{
*/
int luaopen_simgrid(lua_State *L)
{