$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:
William S Fulton 2003-11-01 00:48:32 +00:00
commit f68fc2ee6e

View file

@ -859,6 +859,12 @@ class CSHARP : public Language {
return SWIG_OK;
}
virtual int insertDirective(Node *n) {
String *code = Getattr(n,"code");
Replaceall(code, "$module", module_class_name);
return Language::insertDirective(n);
}
/* -----------------------------------------------------------------------------
* pragmaDirective()
*