Papierkorb / bindgen

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

Automatically instantiate aliased container templates #108

Closed HertzDevil closed 3 years ago

HertzDevil commented 3 years ago

This PR adds support for two kinds of aliases:

Due to recent changes, the type database now has separate rule entries for actual C++ containers (e.g. QList<QWindow *>) and their template-less aliases (e.g. Container_QList_QWindow_X_). This shouldn't affect any existing bindings; in particular, typedefs in the C++ wrappers are unaffected because they are populated by Graph::Alias instead.

Papierkorb commented 3 years ago

Thanks!