예제 #1
0
파일: mathlib.c 프로젝트: nrnrnr/noweb3
/*
** 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);
}
예제 #2
0
int32 (lua_refobject) (lua_Object o, int32 l) { return lua_refobject(o, l); }