diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-06-16 11:10:12 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-06-16 11:10:12 -0300 |
| commit | 20d30bcd33ca932bc7a516ab751b195f03abd66f (patch) | |
| tree | f750e52b68a880d4a1b425ff58a138152ba9e7c3 | |
| parent | 44b6f496b5eec86795fbf753115b87677087d5b6 (diff) | |
| download | lua-20d30bcd33ca932bc7a516ab751b195f03abd66f.tar.gz lua-20d30bcd33ca932bc7a516ab751b195f03abd66f.tar.bz2 lua-20d30bcd33ca932bc7a516ab751b195f03abd66f.zip | |
declarations should be present only when implementations are
| -rw-r--r-- | lauxlib.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -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 | ||
| 168 | LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname, | 169 | LUALIB_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 | ||
