diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-09-21 13:54:32 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-09-21 13:54:32 -0300 |
commit | 6acfb91c8d4dd1174545537ef85e1dacfdb04633 (patch) | |
tree | 045cf5caa21bdc6707ac5fccfc120c34cfecc62c /lauxlib.h | |
parent | 2419f2bf02a9165471248f09bae57e3fa134e545 (diff) | |
download | lua-6acfb91c8d4dd1174545537ef85e1dacfdb04633.tar.gz lua-6acfb91c8d4dd1174545537ef85e1dacfdb04633.tar.bz2 lua-6acfb91c8d4dd1174545537ef85e1dacfdb04633.zip |
new auxiliary functions to implement new package system
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.69 2004/06/30 12:58:44 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.70 2004/07/09 18:23:17 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 | */ |
@@ -70,6 +70,12 @@ LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t sz, | |||
70 | LUALIB_API lua_State *(luaL_newstate) (void); | 70 | LUALIB_API lua_State *(luaL_newstate) (void); |
71 | 71 | ||
72 | 72 | ||
73 | LUALIB_API const char *luaL_gsub (lua_State *L, const char *s, const char *p, | ||
74 | const char *r); | ||
75 | LUALIB_API const char *luaL_getfield (lua_State *L, const char *fname); | ||
76 | LUALIB_API const char *luaL_setfield (lua_State *L, const char *fname); | ||
77 | |||
78 | |||
73 | 79 | ||
74 | /* | 80 | /* |
75 | ** =============================================================== | 81 | ** =============================================================== |