Patched tolua to understand size_t
parent
a427f004b8
commit
7f84c8d60b
|
@ -61,6 +61,8 @@ unsigned char lua_basic_lua[] = {
|
||||||
0x3d, 0x20, 0x27, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x27, 0x2c, 0x0a,
|
0x3d, 0x20, 0x27, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x27, 0x2c, 0x0a,
|
||||||
0x20, 0x5b, 0x27, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x27, 0x5d, 0x20,
|
0x20, 0x5b, 0x27, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x27, 0x5d, 0x20,
|
||||||
0x3d, 0x20, 0x27, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x27, 0x2c, 0x0a,
|
0x3d, 0x20, 0x27, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x27, 0x2c, 0x0a,
|
||||||
|
0x20, 0x5b, 0x27, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x74, 0x27, 0x5d, 0x20,
|
||||||
|
0x3d, 0x20, 0x27, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x27, 0x2c, 0x0a,
|
||||||
0x20, 0x5b, 0x27, 0x5f, 0x63, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x27,
|
0x20, 0x5b, 0x27, 0x5f, 0x63, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x27,
|
||||||
0x5d, 0x20, 0x3d, 0x20, 0x27, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x27,
|
0x5d, 0x20, 0x3d, 0x20, 0x27, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x27,
|
||||||
0x2c, 0x0a, 0x20, 0x5b, 0x27, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x64, 0x61,
|
0x2c, 0x0a, 0x20, 0x5b, 0x27, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x64, 0x61,
|
||||||
|
@ -743,4 +745,4 @@ unsigned char lua_basic_lua[] = {
|
||||||
0x5f, 0x69, 0x73, 0x75, 0x73, 0x65, 0x72, 0x74, 0x79, 0x70, 0x65, 0x22,
|
0x5f, 0x69, 0x73, 0x75, 0x73, 0x65, 0x72, 0x74, 0x79, 0x70, 0x65, 0x22,
|
||||||
0x0a, 0x65, 0x6e, 0x64, 0x0a
|
0x0a, 0x65, 0x6e, 0x64, 0x0a
|
||||||
};
|
};
|
||||||
unsigned int lua_basic_lua_len = 8909;
|
unsigned int lua_basic_lua_len = 8933;
|
||||||
|
|
|
@ -23,6 +23,7 @@ _basic = {
|
||||||
['unsigned'] = 'number',
|
['unsigned'] = 'number',
|
||||||
['float'] = 'number',
|
['float'] = 'number',
|
||||||
['double'] = 'number',
|
['double'] = 'number',
|
||||||
|
['size_t'] = 'number',
|
||||||
['_cstring'] = 'string',
|
['_cstring'] = 'string',
|
||||||
['_userdata'] = 'userdata',
|
['_userdata'] = 'userdata',
|
||||||
['char*'] = 'string',
|
['char*'] = 'string',
|
||||||
|
|
Loading…
Reference in New Issue