Skip to content

scalar function refactors#274

Merged
jraymakers merged 10 commits intomainfrom
jray/scalar-func-refactors
Aug 4, 2025
Merged

scalar function refactors#274
jraymakers merged 10 commits intomainfrom
jray/scalar-func-refactors

Conversation

@jraymakers
Copy link
Copy Markdown
Collaborator

Refactor how scalar functions are implemented to support a separate set_extra_info function and set the stage for supporting the bind function & data.

Now, a reference to the internal extra info is stored by the holder, so the user extra info and function can be set in any order. Also, C++ objects are used to manage these internal data structures (instead of C memory management), simplifying things and avoiding some initialization pitfalls with the latter approach.

@jraymakers jraymakers merged commit 1786df0 into main Aug 4, 2025
5 checks passed
@jraymakers jraymakers deleted the jray/scalar-func-refactors branch August 4, 2025 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant