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
We should be able to detect forward declarations in bindgen, and generate opaque enums if appropriate, instead of structs with an address byte.
We should check clang_getCursorDefinition() and clang_isCursorDefinition to check whether what we're scanning, mark the generated type accordingly, and do the proper codegen steps.
The text was updated successfully, but these errors were encountered:
Forward declared structs now generate opaque enums
@emilio : I checked the test outputs again, and it seems that these changes are affecting struct *definitions* as well. Hence, I have not committed the test changes yet.
Fixes#62
We should be able to detect forward declarations in bindgen, and generate opaque enums if appropriate, instead of structs with an address byte.
We should check
clang_getCursorDefinition()
andclang_isCursorDefinition
to check whether what we're scanning, mark the generated type accordingly, and do the proper codegen steps.The text was updated successfully, but these errors were encountered: