diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-10-16 11:38:38 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-10-16 11:38:38 -0300 |
| commit | dead3858b891c93d69d0d4dc8fd8ce370d94f8da (patch) | |
| tree | 1cf6cfd654fc1f1f5e7b69e3c1a1c18e9ba61231 | |
| parent | afa0d0ac0df60e37fd9473f50041505246228b35 (diff) | |
| download | lua-dead3858b891c93d69d0d4dc8fd8ce370d94f8da.tar.gz lua-dead3858b891c93d69d0d4dc8fd8ce370d94f8da.tar.bz2 lua-dead3858b891c93d69d0d4dc8fd8ce370d94f8da.zip | |
detail
| -rw-r--r-- | lauxlib.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lauxlib.c,v 1.162 2006/09/22 20:24:38 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.163 2006/09/25 15:35:00 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 | */ |
| @@ -230,8 +230,8 @@ LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *event) { | |||
| 230 | } | 230 | } |
| 231 | 231 | ||
| 232 | 232 | ||
| 233 | LUALIB_API void (luaL_register) (lua_State *L, const char *libname, | 233 | LUALIB_API void luaL_register (lua_State *L, const char *libname, |
| 234 | const luaL_Reg *l) { | 234 | const luaL_Reg *l) { |
| 235 | luaI_openlib(L, libname, l, 0); | 235 | luaI_openlib(L, libname, l, 0); |
| 236 | } | 236 | } |
| 237 | 237 | ||
| @@ -622,7 +622,7 @@ LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t size, | |||
| 622 | } | 622 | } |
| 623 | 623 | ||
| 624 | 624 | ||
| 625 | LUALIB_API int (luaL_loadstring) (lua_State *L, const char *s) { | 625 | LUALIB_API int luaL_loadstring (lua_State *L, const char *s) { |
| 626 | return luaL_loadbuffer(L, s, strlen(s), s); | 626 | return luaL_loadbuffer(L, s, strlen(s), s); |
| 627 | } | 627 | } |
| 628 | 628 | ||
