Files
Upsilon/python/port/helpers.h
Romain Goyet 253c183963 [python] Clean the time module
- Export micropython_port_should_interrupt and
micropython_port_interruptible_msleep in Emscripten
- Make micropython_port_interruptible_msleep available in a helper
2018-11-16 09:40:53 +01:00

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