diff options
| author | ame <[email protected]> | 2023-12-08 12:33:33 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2023-12-08 12:33:33 -0600 |
| commit | 9607c2fff47e764efba9ec0e12291d9368ae9073 (patch) | |
| tree | 5619a723e8ec362e0dd6ef7e816f11e3f09a387f /src/math.h | |
| parent | 0de95dae34c2d588dc8f05fd0d2c50fd83230467 (diff) | |
lcm
Diffstat (limited to 'src/math.h')
| -rw-r--r-- | src/math.h | 11 |
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} +}; |
