aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 47d328ca..c0fd1a1b 100644
--- a/lapi.c
+++ b/lapi.c
@@ -366,7 +366,7 @@ LUA_API int lua_compare (lua_State *L, int index1, int index2, int op) {
366} 366}
367 367
368 368
369LUA_API unsigned (lua_numbertostrbuff) (lua_State *L, int idx, char *buff) { 369LUA_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
549LUA_API const char *lua_pushextlstring (lua_State *L, 549LUA_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);