aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
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** ===============================================================