Protected methods are skipped.
Bug #508577 reported by
yak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyBindGen |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Consider this pure virtual class:
class Foo
{
public:
virtual void Bar()=0;
protected:
void Baz();
}
Currently pybindgen skips the Baz method, even while providing the helper class (when allow_subclassi
A viable solution would be to add a public trampoline method to the helper class. The method would ball Baz and it would be wrapped and made available to Python under the name Baz. Of course in such case it would be callable from anywhere but that's fine, it's like Python works after all.
Related branches
Changed in pybindgen: | |
status: | New → Confirmed |
Changed in pybindgen: | |
status: | Confirmed → Fix Committed |
Changed in pybindgen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.