Revision Release 2022.3683 Keywords iOS, Solar2D Native, C, CoronaLibrary.h, CoronaLibraryNewWithFactory See also CoronaLibrary.h CoronaLibraryNew() Corona C Functions
Creates a library object by calling the Lua chunk factory
and leaves it at the top of the stack.
The factory
should return an instance of CoronaLibrary and should set the following table properties:
If factory
succeeds, the functions in libFuncs
are added in the same manner as CoronaLibraryNew().
int CoronaLibraryNewWithFactory( lua_State *L, lua_CFunction factory, const luaL_Reg libFuncs[], void *context )