Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't protect access to the metatable from Lua.
authorChristophe Thiéry <christopho128@gmail.com>
Thu, 10 Nov 2011 13:13:31 +0000 (14:13 +0100)
committerChristophe Thiéry <christopho128@gmail.com>
Thu, 10 Nov 2011 16:00:16 +0000 (17:00 +0100)
commitefd201684c340bfd7508b656bdbc59f57e7e7c67
treeb87fd9e56e92768548546abe3d9e1933abc85713
parentd2d9f8b0f434e881d124d81f655fc9ebb6f31199
Don't protect access to the metatable from Lua.

Lua code can never change the metatable of a userdata anyway
(setmetatable is possible only for a table).
getmetatable is now allowed for tasks and hosts: it's harmless and lets
people extend them.
src/bindings/lua/simgrid_lua.c