aboutsummaryrefslogtreecommitdiff
path: root/src/math.h
blob: 773183108a999418802771e251e0d5d64fa0a9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "lua.h"
#include "config.h"

int l_lcm(lua_State*);
int l_gcd(lua_State*);
int l_random(lua_State*);

#define clean_lullaby_math luaI_nothing

static const luaL_Reg math_function_list [] = {
  {"lcm",l_lcm},
  {"random",l_random},
  //{"gcd",l_gcd},

  {NULL,NULL}
};

static struct config math_config[] = {
  {.type = c_none}
};