Skip to content

fix: use typed C temporaries for scalar output params#88

Merged
cshum merged 2 commits into
mainfrom
use-typed-c
Mar 24, 2026
Merged

fix: use typed C temporaries for scalar output params#88
cshum merged 2 commits into
mainfrom
use-typed-c

Conversation

@cshum

@cshum cshum commented Mar 24, 2026

Copy link
Copy Markdown
Owner

replace unsafe pointer reinterprets for int/bool/float outputs
add post-call conversion from C temporaries back to Go values
preserve nil semantics for optional output pointers

@cshum cshum merged commit f109aaa into main Mar 24, 2026
@cshum cshum deleted the use-typed-c branch March 24, 2026 10:45
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