Function TCOD_sys_get_internal_context

Function Documentation

TCOD_Context *TCOD_sys_get_internal_context(void)

Return the context being used internally by the old API.

This function can be useful to progressively upgrade older code to use the newer API.

New in version 1.19.

Returns

A TCOD_Context pointer, or NULL if the global internals were not initialzed.