"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib-lua/dlua-compat.h" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

dlua-compat.h  (dovecot-2.3.16):dlua-compat.h  (dovecot-2.3.17)
skipping to change at line 59 skipping to change at line 59
#endif #endif
#ifndef HAVE_LUA_TOINTEGERX #ifndef HAVE_LUA_TOINTEGERX
/* /*
* Lua 5.2 and 5.3 both have lua_tointegerx(), but their behavior is subtly * Lua 5.2 and 5.3 both have lua_tointegerx(), but their behavior is subtly
* different. Our compatibility wrapper matches the 5.3 behavior. * different. Our compatibility wrapper matches the 5.3 behavior.
*/ */
lua_Integer lua_tointegerx(lua_State *L, int idx, int *isnum_r); lua_Integer lua_tointegerx(lua_State *L, int idx, int *isnum_r);
#endif #endif
#if LUA_VERSION_NUM > 501 && LUA_VERSION_NUM < 504
/*
* lua_resume() compatibility function. Lua 5.4 expects an extra "nresults"
* argeument.
*/
# define lua_resume(L, from, nargs, nresults) \
lua_resume_compat(L, from, nargs, nresults)
int lua_resume_compat(lua_State *L, lua_State *from, int nargs, int *nresults);
#endif
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)