Reduce needless over-generalization. There is no design need for the ParentOwned and UserOwned classes to contain the C base struct pointer. Instead, just make the _structure pointer a private member of each class that needs one. |
||
---|---|---|
.. | ||
cxx | ||
java | ||
python | ||
swig |