summaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-02-05 20:36:52 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-02-05 20:36:52 -0200
commitd070506a255cc7cc33842a7bb97e1405cfb048aa (patch)
treeb6230d87e080a17d675ecb88586eb6a6f1e7404a /lauxlib.h
parent0a87d9d3346bcf74d84e4d6bae775bceecef096f (diff)
downloadlua-d070506a255cc7cc33842a7bb97e1405cfb048aa.tar.gz
lua-d070506a255cc7cc33842a7bb97e1405cfb048aa.tar.bz2
lua-d070506a255cc7cc33842a7bb97e1405cfb048aa.zip
new function luaL_errstr
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 92f8b5d6..57d259c0 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -20,6 +20,7 @@
20#endif 20#endif
21 21
22 22
23
23typedef struct luaL_reg { 24typedef 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,
48LUALIB_API int luaL_ref (lua_State *L, int t); 49LUALIB_API int luaL_ref (lua_State *L, int t);
49LUALIB_API void luaL_unref (lua_State *L, int t, int ref); 50LUALIB_API void luaL_unref (lua_State *L, int t, int ref);
50 51
52/* error messages corresponding to error codes */
53LUALIB_API const char *luaL_errstr (int errcode);
54
51 55
52/* 56/*
53** =============================================================== 57** ===============================================================