diff options
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 2.82 2013/09/05 19:31:49 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.83 2013/12/04 12:15:22 roberto Exp roberto $ |
3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -479,9 +479,12 @@ typedef struct Table { | |||
479 | 479 | ||
480 | LUAI_DDEC const TValue luaO_nilobject_; | 480 | LUAI_DDEC const TValue luaO_nilobject_; |
481 | 481 | ||
482 | /* size of buffer for 'luaO_utf8esc' function */ | ||
483 | #define UTF8BUFFSZ 8 | ||
482 | 484 | ||
483 | LUAI_FUNC int luaO_int2fb (unsigned int x); | 485 | LUAI_FUNC int luaO_int2fb (unsigned int x); |
484 | LUAI_FUNC int luaO_fb2int (int x); | 486 | LUAI_FUNC int luaO_fb2int (int x); |
487 | LUAI_FUNC int luaO_utf8esc (char *buff, unsigned int x); | ||
485 | LUAI_FUNC int luaO_ceillog2 (unsigned int x); | 488 | LUAI_FUNC int luaO_ceillog2 (unsigned int x); |
486 | LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1, | 489 | LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1, |
487 | const TValue *p2, TValue *res); | 490 | const TValue *p2, TValue *res); |