Corona C Functions

Revision 2017.3060
Keywords iOS, Corona Enterprise, C
See also Corona Enterprise — iOS
CoronaLuaIOS.h

Overview

In addition to the Lua C API, Corona offers several C functions to help you create native extensions and plugins.

Functions

CoronaAssert.h

This is a collection of useful assertion routines.

CoronaEvent.h

This contains common string constants used by Corona events.

CoronaGraphics.h

Provides interfaces to interact with the Corona graphics pipeline.

CoronaLibrary.h

This is a set of C-side functions that enable you to create instances of the Lua type CoronaLibrary.

CoronaLua.h

This is a collection of useful functions in C++ for interacting with the Lua state. In particular, they vastly simply dealing with Corona-specific patterns such as creating events, storing C-side references to Lua listeners, dispatching events, calling Lua functions, etc. In addition to these, there are functions to bridge iOS and Lua in CoronaLuaIOS.h.

CoronaVersion.h

This provides functionality so that you can distinguish between different versions of Corona.