## iuplua_open

Initializes the Lua Binding from C. 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 is also valid for all the additional controls when IUP is dynamically loaded. To call IupClose in this way you must call iuplua_close.

This enable you to dynamically load IUP using Lua 5 "require".

### Parameters/Return

    int iuplua_open(lua_State *L); [in C]
    [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