diff options
Diffstat (limited to '')
| -rw-r--r-- | lualib.h | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lualib.h,v 1.7 1999/08/16 20:52:00 roberto Exp roberto $ | 2 | ** $Id: lualib.h,v 1.8 1999/11/22 13:12:07 roberto Exp roberto $ |
| 3 | ** Lua standard libraries | 3 | ** Lua standard libraries |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -16,12 +16,10 @@ void lua_mathlibopen (lua_State *L); | |||
| 16 | void lua_dblibopen (lua_State *L); | 16 | void lua_dblibopen (lua_State *L); |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | void lua_userinit (lua_State *L); | ||
| 20 | |||
| 21 | 19 | ||
| 22 | /* | 20 | /* |
| 23 | ** =============================================================== | 21 | ** =============================================================== |
| 24 | ** Macros for single-state use | 22 | ** Macros (and functions) for single-state use |
| 25 | ** =============================================================== | 23 | ** =============================================================== |
| 26 | */ | 24 | */ |
| 27 | 25 | ||
| @@ -31,7 +29,9 @@ void lua_userinit (lua_State *L); | |||
| 31 | #define lua_strlibopen() (lua_strlibopen)(lua_state) | 29 | #define lua_strlibopen() (lua_strlibopen)(lua_state) |
| 32 | #define lua_mathlibopen() (lua_mathlibopen)(lua_state) | 30 | #define lua_mathlibopen() (lua_mathlibopen)(lua_state) |
| 33 | #define lua_dblibopen() (lua_dblibopen)(lua_state) | 31 | #define lua_dblibopen() (lua_dblibopen)(lua_state) |
| 34 | #define lua_userinit() (lua_userinit)(lua_state) | 32 | |
| 33 | /* this function should be used only in single-state mode */ | ||
| 34 | void lua_userinit (void); | ||
| 35 | 35 | ||
| 36 | #endif | 36 | #endif |
| 37 | 37 | ||
