Defines timed callback API. More...
Functions | |
int | hqn_timer_system_init (void *(*alloc)(size_t size), void(*free)(void *mem)) |
void | hqn_timer_system_finish (void) |
Defines timed callback API.
Defines prototypes for the platform's implementation of the timed callback system.
Copyright (C) 2023 Global Graphics Software Ltd. All rights reserved. This source code contains the confidential and trade secret information of Global Graphics Software Ltd. It may not be used, copied or distributed for any reason except as set forth in the applicable Global Graphics license agreement.
void hqn_timer_system_finish | ( | void | ) |
Finalise the platform's internal timer system.
This terminates all current callback timers and release any system resource used by the platform's timer system.
int hqn_timer_system_init | ( | void *(*)(size_t size) | alloc, |
void(*)(void *mem) | free | ||
) |
Initialise the platform's internal timer system. alloc, memory allocation function with malloc() signature free, memory release function with free() signature
Returns TRUE if the timer system initialised ok, else FALSE.
This function must be called before any timers can be created.