Implement OCTAVE::runtimeCode, wrap some parts of runtime in anonymous namespace, put Director rtdir map into module clientdata.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
393391965c
commit
2ded60495f
3 changed files with 24 additions and 7 deletions
|
|
@ -1017,7 +1017,14 @@ public:
|
|||
}
|
||||
|
||||
String *runtimeCode() {
|
||||
String *s=Language::runtimeCode();
|
||||
String *s = NewString("");
|
||||
String *srun = Swig_include_sys("octrun.swg");
|
||||
if (!srun) {
|
||||
Printf(stderr, "*** Unable to open 'octrun.swg'\n");
|
||||
} else {
|
||||
Append(s, srun);
|
||||
Delete(srun);
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue