11#ifndef PYTHON_MODAL_MODELS_DEFS_H
12#define PYTHON_MODAL_MODELS_DEFS_H
16#include <structmember.h>
18#include "../include/api/schedule.h"
28 PyObject_HEAD PyObject* mode;
30 lf_mode_change_type_t change_type;
31} mode_capsule_struct_t;
36static PyObject* py_mode_set(PyObject* self, PyObject* args);
50#define initialize_mode_capsule_t(...)
#define initialize_mode_capsule_t(...)
Definition definitions.h:50
PyObject * convert_C_mode_to_py(reactor_mode_t *mode, self_base_t *lf_self, lf_mode_change_type_t change_type)
Definition impl.c:165
void reactor_mode_t
Definition modes.h:142
The base type for all reactor self structs.
Definition lf_types.h:276
Time and tag definitions and functions for Lingua Franca.