Numerous bug fixes. Improvements to C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ce983e3203
commit
cc46b7bb77
17 changed files with 255 additions and 103 deletions
|
|
@ -1443,7 +1443,7 @@ PYTHON::cpp_close_class() {
|
|||
* PYTHON::cpp_inherit() - Handle inheritance
|
||||
* ----------------------------------------------------------------------------- */
|
||||
void
|
||||
PYTHON::cpp_inherit(List *bases,int) {
|
||||
PYTHON::cpp_inherit(List *bases) {
|
||||
char *bc;
|
||||
String *base;
|
||||
int first_base = 0;
|
||||
|
|
@ -1454,7 +1454,7 @@ PYTHON::cpp_inherit(List *bases,int) {
|
|||
}
|
||||
|
||||
/* We'll inherit variables and constants, but not methods */
|
||||
this->Language::cpp_inherit(bases, INHERIT_VAR);
|
||||
this->Language::cpp_inherit(bases);
|
||||
|
||||
if (!bases) return;
|
||||
base_class = NewString("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue