From 3631c27ad39c0a4972a2072aad83129266876ea1 Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Fri, 5 Dec 2003 18:50:16 +0000 Subject: [PATCH] Restored patch that added "classtypeobj" attribute. Guys..... please be careful when committing. I added this patch a couple of days ago and now it's suddenly gone. What's the deal? Did someone commit an old version of lang.cxx on top of this patch? -- Dave git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5488 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules/lang.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/SWIG/Source/Modules/lang.cxx b/SWIG/Source/Modules/lang.cxx index 52449f0bb..87df48277 100644 --- a/SWIG/Source/Modules/lang.cxx +++ b/SWIG/Source/Modules/lang.cxx @@ -1644,6 +1644,7 @@ int Language::classDeclaration(Node *n) { } else { ClassType = NewStringf("%s %s", kind, classname); } + Setattr(n,"classtypeobj", Copy(ClassType)); Setattr(n,"classtype", SwigType_namestr(ClassType)); InClass = 1;