From a61f6474c845d5b5c0ac4f312093a474a8ff2a7d Mon Sep 17 00:00:00 2001 From: "Edward A. Lee" Date: Sat, 20 May 2023 14:25:34 -0700 Subject: [PATCH] Adapt to changes in structs --- include/python_action.h | 3 ++- include/python_port.h | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/python_action.h b/include/python_action.h index eecb2ab..db5d311 100644 --- a/include/python_action.h +++ b/include/python_action.h @@ -59,8 +59,9 @@ typedef struct { lf_token_t* token; size_t length; bool is_present; + lf_action_internal_t _base; + self_base_t* parent; bool has_value; - trigger_t* trigger; PyObject* value; FEDERATED_GENERIC_EXTENSION } generic_action_instance_struct; diff --git a/include/python_port.h b/include/python_port.h index e7321b4..5d36cb2 100644 --- a/include/python_port.h +++ b/include/python_port.h @@ -61,9 +61,7 @@ typedef struct { lf_token_t* token; // token_template_t size_t length; // token_template_t bool is_present; // lf_port_base_t - lf_sparse_io_record_t* sparse_record; // lf_port_base_t - int destination_channel; // lf_port_base_t - int num_destinations; // lf_port_base_t + lf_port_internal_t _base; // lf_port_internal_t PyObject* value; FEDERATED_GENERIC_EXTENSION } generic_port_instance_struct;