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:
Marcelo Matus 2006-02-11 20:33:52 +00:00
commit b0cf74124e
4 changed files with 107 additions and 101 deletions

View file

@ -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");