aboutsummaryrefslogtreecommitdiff
path: root/src/math.h
diff options
context:
space:
mode:
authorame <[email protected]>2023-12-08 12:33:33 -0600
committerame <[email protected]>2023-12-08 12:33:33 -0600
commitc691cc98e31e52982a79ffc10b8e91e8c700592b (patch)
tree5619a723e8ec362e0dd6ef7e816f11e3f09a387f /src/math.h
parent80aaf2f01c4dda3af60a20a6fa9a89210eb75988 (diff)
lcm
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}
+};