ysyx-workbench/abstract-machine/am/src/platform/dummy/cte.c

20 lines
256 B
C
Raw Normal View History

#include <am.h>
bool cte_init(Context*(*handler)(Event, Context*)) {
return false;
}
Context *kcontext(Area kstack, void (*entry)(void *), void *arg) {
return NULL;
}
void yield() {
}
bool ienabled() {
return false;
}
void iset(bool enable) {
}