From 982aa7058f62781960169a38e20781f76be29ac6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 25 Jun 2013 11:05:26 -0300 Subject: 'luaL_len' returns lua_Integer instead of 'int' --- lauxlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lauxlib.h') diff --git a/lauxlib.h b/lauxlib.h index c1aa67c8..360dea13 100644 --- a/lauxlib.h +++ b/lauxlib.h @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.h,v 1.119 2011/11/14 17:10:24 roberto Exp roberto $ +** $Id: lauxlib.h,v 1.120 2011/11/29 15:55:08 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -83,7 +83,7 @@ LUALIB_API int (luaL_loadstring) (lua_State *L, const char *s); LUALIB_API lua_State *(luaL_newstate) (void); -LUALIB_API int (luaL_len) (lua_State *L, int idx); +LUALIB_API lua_Integer (luaL_len) (lua_State *L, int idx); LUALIB_API const char *(luaL_gsub) (lua_State *L, const char *s, const char *p, const char *r); -- cgit v1.2.3-55-g6feb