diff --git a/SWIG/Source/Modules/lang.cxx b/SWIG/Source/Modules/lang.cxx index 6f41f1243..723370440 100644 --- a/SWIG/Source/Modules/lang.cxx +++ b/SWIG/Source/Modules/lang.cxx @@ -1637,7 +1637,7 @@ int Language::classDeclaration(Node *n) { ClassType = NewStringf("%s %s", kind, classname); } Setattr(n,"classtype", SwigType_namestr(ClassType)); - + Setattr(n,"classtypeobj", Copy(ClassType)); InClass = 1; CurrentClass = n;