diff options
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,7 @@ | |||
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | 22 | ||
23 | |||
23 | typedef struct luaL_reg { | 24 | typedef struct luaL_reg { |
24 | const char *name; | 25 | const char *name; |
25 | lua_CFunction func; | 26 | lua_CFunction func; |
@@ -48,6 +49,9 @@ LUALIB_API int luaL_findstring (const char *name, | |||
48 | LUALIB_API int luaL_ref (lua_State *L, int t); | 49 | LUALIB_API int luaL_ref (lua_State *L, int t); |
49 | LUALIB_API void luaL_unref (lua_State *L, int t, int ref); | 50 | LUALIB_API void luaL_unref (lua_State *L, int t, int ref); |
50 | 51 | ||
52 | /* error messages corresponding to error codes */ | ||
53 | LUALIB_API const char *luaL_errstr (int errcode); | ||
54 | |||
51 | 55 | ||
52 | /* | 56 | /* |
53 | ** =============================================================== | 57 | ** =============================================================== |