diff options
Diffstat (limited to '')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -366,7 +366,7 @@ LUA_API int lua_compare (lua_State *L, int index1, int index2, int op) { | |||
366 | } | 366 | } |
367 | 367 | ||
368 | 368 | ||
369 | LUA_API unsigned (lua_numbertostrbuff) (lua_State *L, int idx, char *buff) { | 369 | LUA_API unsigned (lua_numbertocstring) (lua_State *L, int idx, char *buff) { |
370 | const TValue *o = index2value(L, idx); | 370 | const TValue *o = index2value(L, idx); |
371 | if (ttisnumber(o)) { | 371 | if (ttisnumber(o)) { |
372 | unsigned len = luaO_tostringbuff(o, buff); | 372 | unsigned len = luaO_tostringbuff(o, buff); |
@@ -546,7 +546,7 @@ LUA_API const char *lua_pushlstring (lua_State *L, const char *s, size_t len) { | |||
546 | } | 546 | } |
547 | 547 | ||
548 | 548 | ||
549 | LUA_API const char *lua_pushextlstring (lua_State *L, | 549 | LUA_API const char *lua_pushexternalstring (lua_State *L, |
550 | const char *s, size_t len, lua_Alloc falloc, void *ud) { | 550 | const char *s, size_t len, lua_Alloc falloc, void *ud) { |
551 | TString *ts; | 551 | TString *ts; |
552 | lua_lock(L); | 552 | lua_lock(L); |