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

Cannot pass databox type into user function included via $INCLUDE #1126

Closed
kylebaron opened this issue Nov 4, 2023 · 0 comments · Fixed by #1125
Closed

Cannot pass databox type into user function included via $INCLUDE #1126

kylebaron opened this issue Nov 4, 2023 · 0 comments · Fixed by #1125
Assignees
Projects

Comments

@kylebaron
Copy link
Collaborator

kylebaron commented Nov 4, 2023

Currently, can't include a header file via $INCLUDE and have it receive the self object.

In file include.h

void fun(databox& self) {
...
}

In mrgsolve model file

$INCLUDE include.h
@kylebaron kylebaron added this to the Next Version milestone Nov 4, 2023
@kylebaron kylebaron self-assigned this Nov 4, 2023
@kylebaron kylebaron linked a pull request Nov 4, 2023 that will close this issue
@kylebaron kylebaron added this to Evaluate in Development Nov 15, 2023
@kylebaron kylebaron added the bug label Nov 15, 2023
Development automation moved this from Evaluate to Done Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant