mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
- Export micropython_port_should_interrupt and micropython_port_interruptible_msleep in Emscripten - Make micropython_port_interruptible_msleep available in a helper
20 lines
320 B
C
20 lines
320 B
C
#ifndef PYTHON_PORT_HELPERS_H
|
|
#define PYTHON_PORT_HELPERS_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
void micropython_port_vm_hook_loop();
|
|
bool micropython_port_should_interrupt();
|
|
void micropython_port_interruptible_msleep(uint32_t delay);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|