Function TCOD_sys_get_internal_console

Function Documentation

TCOD_Console *TCOD_sys_get_internal_console(void)

Return a pointer to the “root console” used internally by the old API.

This is useful for functions which take a console parameter but won’t accept NULL.

New in version 1.19.

Returns

A pointer to TCOD_Console, or NULL if it doesn’t exist.