1 *** SWIG\cplus.cxx.orig Fri May 18 13:03:34 2001
2 --- SWIG\cplus.cxx Fri May 18 13:07:42 2001
8 ! if (strlen(ctype) > 0) {
9 sprintf(temp,"%s %s", ctype, name);
10 typeeq_derived(temp,name); // Map "struct foo" to "foo"
11 typeeq_derived(name,temp); // Map "foo" to "struct foo"
16 ! if (strlen(ctype) > 0 && strcmp(ctype, "class") != 0) {
17 sprintf(temp,"%s %s", ctype, name);
18 typeeq_derived(temp,name); // Map "struct foo" to "foo"
19 typeeq_derived(name,temp); // Map "foo" to "struct foo"
23 // Make a type-equivalence allowing derived classes to be used in functions of the
25 ! if (strlen(current_class->classtype) > 0) {
27 temp1 << current_class->classtype << " " << current_class->classname;
31 // Make a type-equivalence allowing derived classes to be used in functions of the
33 ! if (strlen(current_class->classtype) > 0 &&
34 ! strcmp(current_class->classtype, "class") != 0) {
36 temp1 << current_class->classtype << " " << current_class->classname;