maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
Platform-Specific Handlers

These are called internally from the platform API. More...

Collaboration diagram for Platform-Specific Handlers:

Macros

#define retroflat_soft_quit(retval)
 Call the quit callback if defined and only try to quit if the callback doesn't return MERROR_PREEMPT.

Functions

uint8_t retroflat_focus_platform ()
 Platform-specific function to get current focus flags for the generic loop.
void retroflat_resize_v ()
 Platform-specific function to resize virtual screen to match physical window size.
void retroflat_timer_handle ()
 This should be called in the API HAL on every iteration of the main loop (this is done automatically in the generic main loop).

Detailed Description

These are called internally from the platform API.

Warning
These facilitate the functioning of the RetroFlat Platform Function API internally and should not be defined or used by individual programs.

Macro Definition Documentation

◆ retroflat_soft_quit

#define retroflat_soft_quit ( retval)
Value:
if( \
NULL == g_retroflat_state->on_quit || \
MERROR_PREEMPT != g_retroflat_state->on_quit( \
g_retroflat_state->on_quit_data \
) ) { \
retroflat_quit( retval ); \
}
#define MERROR_PREEMPT
Indicates MLISP_AST_NODE can be executed again on next step iter pass.
Definition merror.h:67

Call the quit callback if defined and only try to quit if the callback doesn't return MERROR_PREEMPT.