-
Notifications
You must be signed in to change notification settings - Fork 1
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
How to access public attributes on C++ class e.g. Monomial #3
Comments
For "trivial" layouts, If you try to
this will let you add the class with the "limitations" of If instead you conform to the defaults, you can
this will expose public attributes to Julia, but we need to check how to expose other methods of the wrapped class. |
I implemented If you find a more suitable solution, notably for |
I'm not sure that more complicated classes will be possible to add, so we might need to add some get/set methods. |
We could look at map_type instead of add_type
Could also add a method that takes monomial and returns the value in dace_julia.cxx
The text was updated successfully, but these errors were encountered: