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

Make macros available in methods #2437

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Make macros available in methods #2437

merged 2 commits into from
Nov 19, 2024

Conversation

edwardalee
Copy link
Collaborator

Before this change, one could not call lf_time_logical() or lf_tag() in methods. This fixes that oversight. It also makes it possible (though not very attractive) to read inputs and produce outputs in methods by passing in the pointer to the input or output. It's not too attractive to do this because you have to know the type of the input or output struct, but at least this makes it possible. A test is added to verify these capabilities.

@edwardalee edwardalee added the feature New feature label Nov 18, 2024
Copy link
Collaborator

@erlingrj erlingrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@erlingrj erlingrj added this pull request to the merge queue Nov 19, 2024
@erlingrj
Copy link
Collaborator

@edwardalee I merged it so that the Zephyr thing is in master, it seems to affect other PRs also

Merged via the queue into master with commit 8d614be Nov 19, 2024
24 checks passed
@erlingrj erlingrj deleted the method-macros branch November 19, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants