14 lines
468 B
Plaintext
14 lines
468 B
Plaintext
|
|
/*
|
||
|
|
* Prelude for the "shortest useful host" example in docs/10-embedding.md.
|
||
|
|
*
|
||
|
|
* The example calls two functions it does not define, on purpose: a host's clock
|
||
|
|
* and a host's renderer are the host's business, and spelling them out would
|
||
|
|
* bury the four calls the section is actually about. Declare them here so the
|
||
|
|
* block compiles as written.
|
||
|
|
*/
|
||
|
|
#include <stdio.h>
|
||
|
|
#include <akerror.h>
|
||
|
|
|
||
|
|
static int64_t your_clock_ms(void);
|
||
|
|
static void your_draw_a_frame(void);
|