CoronaLuaInitializeContext()

Revision Release 2024.3703
Keywords iOS, Solar2D Native, C, CoronaLua.h, CoronaLuaInitializeContext
See also CoronaLua.h
Corona C Functions

Overview

Initializes a platform-specific pointer. The metatableName argument may be NULL. However, if you want the pointer to be freed, you must specify a valid metatable containing a __gc method which gives you a way to finalize the pointer.

Syntax

void CoronaLuaInitializeContext( lua_State *L, void *context, const char *metatableName )