lua-users home
lua-l archive

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


in lstate.h:

#define G(L)    (L->l_G)

And yes, I used
 lua_State *mainthread = G(L)->mainthread;
to pick the min thread.

Regards,

Oliver

Am 02.03.21 um 22:31 schrieb bel:
Do you have a definition for G()?