diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-30 11:00:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-30 11:00:14 -0300 |
commit | 34ac039fb84e3c12fb8c96c9c99c34224c09872b (patch) | |
tree | a859f6338c6c851088a67b129765de662ed6f223 /lobject.h | |
parent | 1aa526263405fb4906eafab3011b13de4e5daf73 (diff) | |
download | lua-34ac039fb84e3c12fb8c96c9c99c34224c09872b.tar.gz lua-34ac039fb84e3c12fb8c96c9c99c34224c09872b.tar.bz2 lua-34ac039fb84e3c12fb8c96c9c99c34224c09872b.zip |
new macro 'cvt2str' to better control whether numbers are convertible
to strings
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 2.99 2014/07/18 14:46:47 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.100 2014/07/29 16:22:24 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 | */ |
@@ -527,6 +527,7 @@ 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); |
528 | LUAI_FUNC size_t luaO_str2num (const char *s, TValue *o); | 528 | LUAI_FUNC size_t luaO_str2num (const char *s, TValue *o); |
529 | LUAI_FUNC int luaO_hexavalue (int c); | 529 | LUAI_FUNC int luaO_hexavalue (int c); |
530 | LUAI_FUNC void luaO_tostring (lua_State *L, StkId obj); | ||
530 | LUAI_FUNC const char *luaO_pushvfstring (lua_State *L, const char *fmt, | 531 | LUAI_FUNC const char *luaO_pushvfstring (lua_State *L, const char *fmt, |
531 | va_list argp); | 532 | va_list argp); |
532 | LUAI_FUNC const char *luaO_pushfstring (lua_State *L, const char *fmt, ...); | 533 | LUAI_FUNC const char *luaO_pushfstring (lua_State *L, const char *fmt, ...); |