diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-27 16:09:55 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-27 16:09:55 -0300 |
commit | c4e7cdb541d89142056927ebdfd8f97017d38f45 (patch) | |
tree | 1e356b5b4eed75d86050bab3f12026d5a70697b6 /lua.h | |
parent | 7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef (diff) | |
download | lua-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -244,7 +244,7 @@ LUA_API void (lua_pushnil) (lua_State *L); | |||
244 | LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); | 244 | LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); |
245 | LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); | 245 | LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); |
246 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len); | 246 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len); |
247 | LUA_API const char *(lua_pushextlstring) (lua_State *L, | 247 | LUA_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); |
249 | LUA_API const char *(lua_pushstring) (lua_State *L, const char *s); | 249 | LUA_API const char *(lua_pushstring) (lua_State *L, const char *s); |
250 | LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt, | 250 | LUA_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); | |||
372 | LUA_API void (lua_len) (lua_State *L, int idx); | 372 | LUA_API void (lua_len) (lua_State *L, int idx); |
373 | 373 | ||
374 | #define LUA_N2SBUFFSZ 64 | 374 | #define LUA_N2SBUFFSZ 64 |
375 | LUA_API unsigned (lua_numbertostrbuff) (lua_State *L, int idx, char *buff); | 375 | LUA_API unsigned (lua_numbertocstring) (lua_State *L, int idx, char *buff); |
376 | LUA_API size_t (lua_stringtonumber) (lua_State *L, const char *s); | 376 | LUA_API size_t (lua_stringtonumber) (lua_State *L, const char *s); |
377 | 377 | ||
378 | LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); | 378 | LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); |