aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index b777624e..09611db5 100644
--- a/lua.h
+++ b/lua.h
@@ -128,7 +128,7 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
128/* 128/*
129** Type for warning functions 129** Type for warning functions
130*/ 130*/
131typedef void (*lua_WarnFunction) (void **pud, const char *msg); 131typedef void (*lua_WarnFunction) (void *ud, const char *msg, int tocont);
132 132
133 133
134 134
@@ -309,7 +309,7 @@ LUA_API int (lua_isyieldable) (lua_State *L);
309** Warning-related functions 309** Warning-related functions
310*/ 310*/
311LUA_API void (lua_setwarnf) (lua_State *L, lua_WarnFunction f, void *ud); 311LUA_API void (lua_setwarnf) (lua_State *L, lua_WarnFunction f, void *ud);
312LUA_API void (lua_warning) (lua_State *L, const char *msg); 312LUA_API void (lua_warning) (lua_State *L, const char *msg, int tocont);
313 313
314 314
315/* 315/*