- lua_pushliteral(L, "__metatable");
- /* simgrid.task mt "__metatable" */
- lua_pushnumber(L, 0);
- /* simgrid.task mt "__metatable" 0 */
- /* protect the metatable from Lua code (by setting any value to __metatable) */
- lua_rawset(L, -3); /* simgrid.task mt */