lua-users home
lua-l archive

New param in lua_resume in Lua 5.4

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi all,
I just found out, that there has been added new param to function lua_resume. 
New definition in Lua 5.4 is following:
int lua_resume (lua_State *L, lua_State *from, int nargs,
 int *nresults);
Do you have any idea, how I need to rewrite the code, if in old code we use just
lua_resume(L, NULL, x) ?
I'm sorry if it is a stupid question, but I'm total newbie in Lua.
Best,
-- 
Lubos Uhliarik
Software Engineer - EMEA ENG Developer Experience
RH - Brno - TPB-C - 1D221
IRC: zero_byte at irc.freenode.net
RED HAT | TRIED. TESTED. TRUSTED.
Every airline in the Fortune 500 relies on Red Hat.
Find out why at http://www.redhat.com/en/about/trusted
Red Hat Inc. http://cz.redhat.com

AltStyle によって変換されたページ (->オリジナル) /