22 lines
359 B
C++
22 lines
359 B
C++
|
|
/*
|
|
|
|
Platform neutral runtime library.
|
|
|
|
To be statically linked with an appropriate gxruntime driver.
|
|
|
|
*/
|
|
|
|
#ifndef BBRUNTIME_H
|
|
#define BBRUNTIME_H
|
|
|
|
#include "gxruntime.hpp"
|
|
|
|
void bbruntime_link(void (*rtSym)(const char* sym, void* pc));
|
|
|
|
const char* bbruntime_run(gxRuntime* runtime, void (*pc)(), bool debug);
|
|
|
|
void bbruntime_panic(const char* err);
|
|
|
|
#endif
|