aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-06-16 11:10:12 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-06-16 11:10:12 -0300
commit20d30bcd33ca932bc7a516ab751b195f03abd66f (patch)
treef750e52b68a880d4a1b425ff58a138152ba9e7c3 /lauxlib.h
parent44b6f496b5eec86795fbf753115b87677087d5b6 (diff)
downloadlua-20d30bcd33ca932bc7a516ab751b195f03abd66f.tar.gz
lua-20d30bcd33ca932bc7a516ab751b195f03abd66f.tar.bz2
lua-20d30bcd33ca932bc7a516ab751b195f03abd66f.zip
declarations should be present only when implementations are
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lauxlib.h b/lauxlib.h
index be36b0a9..2ec7e50c 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.h,v 1.115 2011/03/03 16:34:46 roberto Exp roberto $ 2** $Id: lauxlib.h,v 1.116 2011/04/08 19:17:36 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*/
@@ -164,6 +164,7 @@ LUALIB_API char *(luaL_buffinitsize) (lua_State *L, luaL_Buffer *B, size_t sz);
164 164
165 165
166/* compatibility with old module system */ 166/* compatibility with old module system */
167#if defined(LUA_COMPAT_MODULE)
167 168
168LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname, 169LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname,
169 int sizehint); 170 int sizehint);
@@ -172,6 +173,8 @@ LUALIB_API void (luaL_openlib) (lua_State *L, const char *libname,
172 173
173#define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) 174#define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0))
174 175
176#endif
177
175 178
176#endif 179#endif
177 180