From 9607c2fff47e764efba9ec0e12291d9368ae9073 Mon Sep 17 00:00:00 2001 From: ame Date: Fri, 8 Dec 2023 12:33:33 -0600 Subject: lcm --- src/math.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/math.h (limited to 'src/math.h') diff --git a/src/math.h b/src/math.h new file mode 100644 index 0000000..cfce896 --- /dev/null +++ b/src/math.h @@ -0,0 +1,11 @@ +#include "lua.h" + +int l_lcm(lua_State*); +int l_gcd(lua_State*); + +static const luaL_Reg math_function_list [] = { + {"lcm",l_lcm}, + //{"gcd",l_gcd}, + + {NULL,NULL} +}; -- cgit v1.2.3