diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-06-25 11:05:26 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-06-25 11:05:26 -0300 |
commit | 982aa7058f62781960169a38e20781f76be29ac6 (patch) | |
tree | 46178f807bdb0f85b2b263a4e8596d91513c221f /lauxlib.h | |
parent | 80cdf39d0ed1803825ecbbc81b64ab501b0f4b7c (diff) | |
download | lua-982aa7058f62781960169a38e20781f76be29ac6.tar.gz lua-982aa7058f62781960169a38e20781f76be29ac6.tar.bz2 lua-982aa7058f62781960169a38e20781f76be29ac6.zip |
'luaL_len' returns lua_Integer instead of 'int'
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.119 2011/11/14 17:10:24 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.120 2011/11/29 15:55:08 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -83,7 +83,7 @@ LUALIB_API int (luaL_loadstring) (lua_State *L, const char *s); | |||
83 | 83 | ||
84 | LUALIB_API lua_State *(luaL_newstate) (void); | 84 | LUALIB_API lua_State *(luaL_newstate) (void); |
85 | 85 | ||
86 | LUALIB_API int (luaL_len) (lua_State *L, int idx); | 86 | LUALIB_API lua_Integer (luaL_len) (lua_State *L, int idx); |
87 | 87 | ||
88 | LUALIB_API const char *(luaL_gsub) (lua_State *L, const char *s, const char *p, | 88 | LUALIB_API const char *(luaL_gsub) (lua_State *L, const char *s, const char *p, |
89 | const char *r); | 89 | const char *r); |