aboutsummaryrefslogtreecommitdiff
path: root/src/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/math.h')
-rw-r--r--src/math.h11
1 files changed, 11 insertions, 0 deletions
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}
+};