iuplua_open

IUP - Portable User Interface

iuplua_open

Initializes the Lua Binding. This function should be called by the host program before running any Lua functions, but it is important to call it after IupOpen.

It is also allowed to call iuplua_open without calling IupOpen. Then IupOpen will be internally called. This enable you to dynamically load IUP using Lua 5 "require". This is also valid for all the additional controls when IUP isĀ  dynamically loaded. To call IupClose in this way you must call iuplua_close.

Parameters/Return

int iuplua_open(void); [in C for Lua 3]
int iuplua_open(lua_State *L); [in C for Lua 5]
[There is no equivalent in Lua]

Returns: 0 (the number of elements in the stack).

Notes

For a more detailed explanation on the system control for the Lua Binding, please refer to System Guide.

See Also

IupOpen, Guide / System Control