Esempio n. 1
0
/*
** Open math library
*/
void mathlib_open (void)
{
  luaI_openlib(mathlib, (sizeof(mathlib)/sizeof(mathlib[0])));
  old_pow = lua_refobject(lua_setfallback("arith", math_pow), 1);
}
Esempio n. 2
0
int32 (lua_refobject) (lua_Object o, int32 l) { return lua_refobject(o, l); }