diff options
Diffstat (limited to 'circuitpython/shared-module/vectorio/__init__.h')
| -rw-r--r-- | circuitpython/shared-module/vectorio/__init__.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/circuitpython/shared-module/vectorio/__init__.h b/circuitpython/shared-module/vectorio/__init__.h new file mode 100644 index 0000000..8da85bb --- /dev/null +++ b/circuitpython/shared-module/vectorio/__init__.h @@ -0,0 +1,14 @@ +#ifndef MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_INIT_H +#define MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_INIT_H + +#include "py/obj.h" + +typedef void event_function(mp_obj_t obj); + +typedef struct { + mp_obj_t obj; + event_function *event; +} vectorio_event_t; + + +#endif |
