Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struct refactoring for actions and ports #26

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion include/python_action.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 1 addition & 3 deletions include/python_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down