-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle attribute pointer in functions (#277)
Ensure that the generated code within a function, which generally accesses the particle attribute struct via a pointer, is emitted with a pointer indirection. This is a partial fix, as `make_fn()` could be called with a non-pointer attribute struct, which would break with the reverse error. However for now it's only called in the update context with a pointer. Fixes #275
- Loading branch information
Showing
3 changed files
with
119 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters