uniform the location of the includes and fixes, now in perlhead.swg as rubyhead.swg and pyhead.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d911afe543
commit
b0cf74124e
4 changed files with 107 additions and 101 deletions
|
|
@ -1666,6 +1666,13 @@ public:
|
|||
|
||||
String *runtimeCode() {
|
||||
String *s = NewString("");
|
||||
String *shead = Swig_include_sys("perlhead.swg");
|
||||
if (!shead) {
|
||||
Printf(stderr, "*** Unable to open 'perlhead.swg'\n");
|
||||
} else {
|
||||
Append(s, shead);
|
||||
Delete(shead);
|
||||
}
|
||||
String *serrors = Swig_include_sys("perlerrors.swg");
|
||||
if (!serrors) {
|
||||
Printf(stderr, "*** Unable to open 'perlerrors.swg'\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue