You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support pointer-sized struct arguments in callbacks (NewCallback) #418
Allow callback argument types that are structs whose flattened leaf fields total exactly one pointer-sized slot (for example wrapper types with embedded unsafe.Pointer).
Why is this needed?
Generated bindings and Objective-C wrappers often model pointers as tiny structs. Today those callback signatures are rejected even when ABI-equivalent to a pointer-sized argument.
Can you provide an example of this in practice? If I understand correctly this is just implementing structs to be transparent if just contesting other structs for callbacks?
Activity
TotallyGamerJet commentedon Feb 23, 2026
Can you provide an example of this in practice? If I understand correctly this is just implementing structs to be transparent if just contesting other structs for callbacks?
MatejMagat305 commentedon Feb 26, 2026
I know, but from android
env->findClass(env, ...), if similar is in other, than...TotallyGamerJet commentedon Apr 10, 2026
I think this is covered by completion of #225