Papierkorb / bindgen

Binding and wrapper generator for C/C++ libraries
GNU General Public License v3.0
179 stars 18 forks source link

Better namespace resolution for namespaced types #83

Closed HertzDevil closed 4 years ago

HertzDevil commented 4 years ago

Fixes #67. More specifically,

A consequence of these fixes is that namespaced types can be mapped directly:

classes:
  Module::Super: Module::Super

types:
  # no longer required, Bindgen always does this now
  # Module::Super: { binding_type: Module_Super }

I have also confirmed that this doesn't break qt5.cr (it merely removes a bunch of redundant Binding::s under lib Binding).

HertzDevil commented 4 years ago

Is there anything blocking this PR?