diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-01 08:52:33 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-01 08:52:33 -0300 |
| commit | 34b6664dcb28b18ca3f08ed5e36da094b007eb7b (patch) | |
| tree | a5e2f06e198b146d9a324dc41e4cc4114df14246 /lobject.h | |
| parent | d35fff16d5eecf0116193be08586548b53b9f868 (diff) | |
| download | lua-34b6664dcb28b18ca3f08ed5e36da094b007eb7b.tar.gz lua-34b6664dcb28b18ca3f08ed5e36da094b007eb7b.tar.bz2 lua-34b6664dcb28b18ca3f08ed5e36da094b007eb7b.zip | |
better to use 'long' to represent UTF-8 code points
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 2.101 2014/07/30 14:00:14 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.102 2014/09/04 18:15:29 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 | */ |
| @@ -521,7 +521,7 @@ LUAI_DDEC const TValue luaO_nilobject_; | |||
| 521 | 521 | ||
| 522 | LUAI_FUNC int luaO_int2fb (unsigned int x); | 522 | LUAI_FUNC int luaO_int2fb (unsigned int x); |
| 523 | LUAI_FUNC int luaO_fb2int (int x); | 523 | LUAI_FUNC int luaO_fb2int (int x); |
| 524 | LUAI_FUNC int luaO_utf8esc (char *buff, unsigned int x); | 524 | LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x); |
| 525 | LUAI_FUNC int luaO_ceillog2 (unsigned int x); | 525 | LUAI_FUNC int luaO_ceillog2 (unsigned int x); |
| 526 | LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1, | 526 | LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1, |
| 527 | const TValue *p2, TValue *res); | 527 | const TValue *p2, TValue *res); |
