aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-27 16:09:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-27 16:09:55 -0300
commitc4e7cdb541d89142056927ebdfd8f97017d38f45 (patch)
tree1e356b5b4eed75d86050bab3f12026d5a70697b6 /lua.h
parent7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef (diff)
downloadlua-c4e7cdb541d89142056927ebdfd8f97017d38f45.tar.gz
lua-c4e7cdb541d89142056927ebdfd8f97017d38f45.tar.bz2
lua-c4e7cdb541d89142056927ebdfd8f97017d38f45.zip
Renaming two new functions
'lua_numbertostrbuff' -> 'lua_numbertocstring' 'lua_pushextlstring' -> 'lua_pushexternalstring'
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index e82fc255..95e0db32 100644
--- a/lua.h
+++ b/lua.h
@@ -244,7 +244,7 @@ LUA_API void (lua_pushnil) (lua_State *L);
244LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); 244LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n);
245LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); 245LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n);
246LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len); 246LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
247LUA_API const char *(lua_pushextlstring) (lua_State *L, 247LUA_API const char *(lua_pushexternalstring) (lua_State *L,
248 const char *s, size_t len, lua_Alloc falloc, void *ud); 248 const char *s, size_t len, lua_Alloc falloc, void *ud);
249LUA_API const char *(lua_pushstring) (lua_State *L, const char *s); 249LUA_API const char *(lua_pushstring) (lua_State *L, const char *s);
250LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt, 250LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt,
@@ -372,7 +372,7 @@ LUA_API void (lua_concat) (lua_State *L, int n);
372LUA_API void (lua_len) (lua_State *L, int idx); 372LUA_API void (lua_len) (lua_State *L, int idx);
373 373
374#define LUA_N2SBUFFSZ 64 374#define LUA_N2SBUFFSZ 64
375LUA_API unsigned (lua_numbertostrbuff) (lua_State *L, int idx, char *buff); 375LUA_API unsigned (lua_numbertocstring) (lua_State *L, int idx, char *buff);
376LUA_API size_t (lua_stringtonumber) (lua_State *L, const char *s); 376LUA_API size_t (lua_stringtonumber) (lua_State *L, const char *s);
377 377
378LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); 378LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);