More %ignore director fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9991851584
commit
22089355d6
7 changed files with 787 additions and 710 deletions
|
|
@ -3118,14 +3118,14 @@ class CSHARP : public Language {
|
|||
Printf(w->code, "if (!swig_callback%s) {\n", overloaded_name);
|
||||
|
||||
if (!pure_virtual) {
|
||||
String *super_call = Swig_method_call(super, l);
|
||||
if (is_void) {
|
||||
Printf(w->code, "%s;\n", Swig_method_call(super,l));
|
||||
Printf(w->code, "%s;\n", super_call);
|
||||
Printf(w->code, "return;\n");
|
||||
} else {
|
||||
String *super_call = Swig_method_call(super, l);
|
||||
Printf(w->code, "return %s;\n", super_call);
|
||||
Delete(super_call);
|
||||
}
|
||||
Delete(super_call);
|
||||
} else {
|
||||
Printf(w->code, " throw Swig::DirectorPureVirtualException(\"%s::%s\");\n", c_classname, name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue