1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#include "honeysuckle.h"
void hs_parse_args_(lua_State *L, int n_args, struct hs_arg *arguments)
{
L = L;
}
int hs_parse_overloaded_(lua_State *L, ...)
{
L = L;
return -1;
}
int hs_create_table(lua_State *L, ...)
{
lua_createtable(L, 0, 0);
L = L;
return 0;
}
int hs_create_enum(lua_State *L, ...)
{
lua_createtable(L, 0, 0);
L = L;
return 0;
}
void hs_process_table(lua_State *L, int table_index, void *data, ...)
{
L = L;
table_index = table_index;
data = data;
}
void hs_pt_set_boolean(bool value, void *data) { value=value; data=data; }
void hs_pt_set_integer(lua_Integer value, void *data) { value=value; data=data; }
void hs_pt_set_number(lua_Number value, void *data) { value=value; data=data; }
void hs_pt_set_string(const char *value, void *data) { value=value; data=data; }
|