Chaste / cppwg

An automatic Python wrapper generator for C++ code.
BSD 3-Clause "New" or "Revised" License
45 stars 8 forks source link

Fix trampoline overrides for excluded methods #43

Closed kwabenantim closed 3 months ago

kwabenantim commented 3 months ago

From the yaml configuration below, a method definition is not generated for the excluded method ClassFoo::MethodBar. However, the pybind11 virtual function trampoline overrides are still generated.

  - name: module_foobar

    classes:
      - name: ClassFoo
        excluded_methods:
          - MethodBar