-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Problem
// C++ API to be wrapped:
size_t foo();Generates code replacing size_t with unsigned long. Which is OK... until you try to build the generated sources in another platform (e.g. armhf, etc.) where size_t becomes something else, so the generated pattern code doesn't match anymore the original C++ API and fails to build. A solution might be re-running binder for each architecture, but I would like to avoid it.
Questions
- Within binder, where is the type
size_tand such converted into their underlying types? - What would you think about a new config option to "freeze" certain types such that they are not resolved into their underlying types (if this is even possible...)
If you give me some pointers, I would be glad to attempt to implement it and PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels