reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
generic_action_capsule_struct Struct Reference

#include <python_action.h>

Data Fields

PyObject_HEAD PyObject * action
 
PyObject * value
 
bool is_present
 

Detailed Description

The struct used to hold an action that is sent to a Python reaction.

The "action" field holds a PyCapsule of the void * pointer to an action.

The "value" field holds the action value if anything is given. This value is copied over from action->value each time an action is passed to a Python reaction.

The "is_present" field is copied over from action->value each time an action is passed to a Python reaction.

Field Documentation

◆ action

PyObject_HEAD PyObject* generic_action_capsule_struct::action

◆ is_present

bool generic_action_capsule_struct::is_present

◆ value

PyObject* generic_action_capsule_struct::value

The documentation for this struct was generated from the following file: