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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#include "honeysuckle.h"
const char* hs_type_to_string(int type)
{
type = type;
return "mock";
}
void hs_parse_args(lua_State *L, ...)
{
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; }
void hs_throw_error(lua_State *L, const char *format_string, ...)
{
L = L;
format_string = format_string;
}
void hs_pushstring(lua_State *L, const char *format_string, ...)
{
lua_pushnumber(L, 0.4);
format_string = format_string;
}
|