Zth (libzth)
Loading...
Searching...
No Matches
zth_preinit.cpp File Reference
#include <libzth/init.h>
#include <libzth/indirection.h>

Go to the source code of this file.

Functions

void zth_preinit ()
 Initialization function to be called by the default-supplied main(), before doing anything else.
 

Function Documentation

◆ zth_preinit()

void zth_preinit ( )

Initialization function to be called by the default-supplied main(), before doing anything else.

This function can be used to run machine/board-specific initialization in main() even before zth_init() is invoked. The default (weak) implementation does nothing.

Definition at line 22 of file zth_preinit.cpp.