summaryrefslogtreecommitdiff
path: root/src/honeysuckle.c
blob: 268954479729e18a490cfe3461ef6793515e101f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "honeysuckle.h"

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; }