Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
When a C function is called by Lua, get the args with positive indices
authorChristophe Thiéry <christopho128@gmail.com>
Wed, 9 Nov 2011 18:02:00 +0000 (19:02 +0100)
committerChristophe Thiéry <christopho128@gmail.com>
Wed, 9 Nov 2011 18:05:01 +0000 (19:05 +0100)
commite515cb46d8c3c86b35a918cbb8e8f7860bf31d94
tree6cb7d38686d39a5ece480e0ad785ef72f03e41e1
parent8b30afd41e2c22586e92ecbbfe124403fc861dd6
When a C function is called by Lua, get the args with positive indices

A negative index is unsafe since the caller may provide more arguments
than needed.
src/bindings/lua/simgrid_lua.c