You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ja...@apache.org on 2001/03/15 00:23:51 UTC
cvs commit: xml-xerces/perl postSource.pl
jasons 01/03/14 15:23:51
Modified: perl postSource.pl
Log:
* postSource.pl (Repository):
now works with SWIG 1.1 and namespace XML::Xerces
Revision Changes Path
1.2 +6 -16 xml-xerces/perl/postSource.pl
Index: postSource.pl
===================================================================
RCS file: /home/cvs/xml-xerces/perl/postSource.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- postSource.pl 2001/03/07 16:12:30 1.1
+++ postSource.pl 2001/03/14 23:23:50 1.2
@@ -37,22 +37,6 @@
);
-unless (@ARGV) {
- while(<>) {
- s/\bsv_undef\b/PL_sv_undef/g if /\bsv_undef\b/;
- s/\bsv_yes\b/PL_sv_yes/g if /\bsv_yes\b/;
- s/\bna\b/PL_na/g if /\bna\b/;
-
- for $key (keys %operator_symbols) {
- s/\b$key\b/ operator$operator_symbols{$key} /
- }
-
- print;
- }
- exit 0;
-}
-
-
my $num = 0;
++$num while -e "$progname.$num.tmp";
@@ -68,6 +52,12 @@
for $key (keys %operator_symbols) {
s/\b$key\b/ operator$operator_symbols{$key} /
}
+
+ s/swig_setiv\("(?!XML::Xercesc::)/swig_setiv("XML::Xercesc::/;
+ s/SWIG_GetPtr(.*?)"(?!XML::Xerces::)(\w+)"/SWIG_GetPtr$1"XML::Xerces::$2"/;
+ s/SWIG_RegisterMapping\("(?!XML::Xerces::)(\w+)","(?!XML::Xerces::)(\w+)",Swig/SWIG_RegisterMapping("XML::Xerces::$1","XML::Xerces::$2",Swig/;
+ s/sv_setref_pv\(ST\(argvi\+\+\),"(?!XML::Xerces::)/sv_setref_pv(ST(argvi++),"XML::Xerces::/;
+ s/boot_Xerces/boot_XML__Xerces/g;
print TEMP;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org