Numerous bug fixes. Improvements to C++

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-12-24 04:04:01 +00:00
commit 0489a7e330
17 changed files with 255 additions and 103 deletions

View file

@ -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("");