diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-05 20:36:52 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-05 20:36:52 -0200 |
commit | d070506a255cc7cc33842a7bb97e1405cfb048aa (patch) | |
tree | b6230d87e080a17d675ecb88586eb6a6f1e7404a /lauxlib.h | |
parent | 0a87d9d3346bcf74d84e4d6bae775bceecef096f (diff) | |
download | lua-d070506a255cc7cc33842a7bb97e1405cfb048aa.tar.gz lua-d070506a255cc7cc33842a7bb97e1405cfb048aa.tar.bz2 lua-d070506a255cc7cc33842a7bb97e1405cfb048aa.zip |
new function luaL_errstr
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 | ** =============================================================== |