$module name substitution to enable name mangling with the module name for the delegate registering functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f479cd8c31
commit
f68fc2ee6e
1 changed files with 6 additions and 0 deletions
|
|
@ -859,6 +859,12 @@ class CSHARP : public Language {
|
||||||
return SWIG_OK;
|
return SWIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual int insertDirective(Node *n) {
|
||||||
|
String *code = Getattr(n,"code");
|
||||||
|
Replaceall(code, "$module", module_class_name);
|
||||||
|
return Language::insertDirective(n);
|
||||||
|
}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* pragmaDirective()
|
* pragmaDirective()
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue