1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include "lua.h" #include "config.h" int l_lcm(lua_State*); int l_gcd(lua_State*); #define clean_lullaby_math luaI_nothing static const luaL_Reg math_function_list [] = { {"lcm",l_lcm}, //{"gcd",l_gcd}, {NULL,NULL} }; static struct config math_config[] = { {.type = c_none} };