-
Notifications
You must be signed in to change notification settings - Fork 569
Add Indirect={bool} to bindings [Field] attribute #4957
Copy link
Copy link
Open
Labels
enhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancementgeneratorIssues affecting the generatorIssues affecting the generatoriOSIssues affecting iOSIssues affecting iOSmacOSIssues affecting macOSIssues affecting macOSrequest-for-commentsThe issue is a suggested idea seeking feedbackThe issue is a suggested idea seeking feedback
Milestone
Metadata
Metadata
Assignees
Labels
enhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancementgeneratorIssues affecting the generatorIssues affecting the generatoriOSIssues affecting iOSIssues affecting iOSmacOSIssues affecting macOSIssues affecting macOSrequest-for-commentsThe issue is a suggested idea seeking feedbackThe issue is a suggested idea seeking feedback
Type
Fields
Give feedbackNo fields configured for issues without a type.
For some bindings we need to call
Dlfcn.GetIndirectinstead ofDlfcn.GetIntPtr. Only the later is supported by the generator so the former (indirect) must be bound manually.We could add an optional (default to false)
Indirectproperty toFieldAttributeto control which call would be used. That would allow us to reduce (a bit) the manual bindings we maintain and make the xtro results more accurate (i.e. not ignoring stuff we actually support).