Name
FreeLibrary -- free library initialization (V5.0)
Synopsis
void FreeLibrary(lua_State *L);
Function
This function must free any initialization done by InitLibrary(). Any cleanup that requires a valid lua_State must be done here as the lua_State is no longer there once ClosePlugin() is called.

Note that when compiling for 64-bit Windows, this function must be called _FreeLibrary instead. Otherwise there will be clashes with the function of the same name from kernel32.lib. On 32-bit Windows this isn't a problem because 32-bit Windows uses decorated function exports.

Inputs
L
pointer to the lua_State

Show TOC