perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject svn commit: r1157326 - in /perl/modperl/branches/1.x: Symbol/Symbol.xs src/modules/perl/mod_perl.h
Date Sat, 13 Aug 2011 05:23:31 GMT
Author: phred
Date: Sat Aug 13 05:23:30 2011
New Revision: 1157326

URL: http://svn.apache.org/viewvc?rev=1157326&view=rev
Log:
Change style to Salvador Garcia's patch since it makes more intuitive sense.
Add macro to Symbol.xs since it doesn't load mod_perl.h

Modified:
    perl/modperl/branches/1.x/Symbol/Symbol.xs
    perl/modperl/branches/1.x/src/modules/perl/mod_perl.h

Modified: perl/modperl/branches/1.x/Symbol/Symbol.xs
URL: http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Symbol/Symbol.xs?rev=1157326&r1=1157325&r2=1157326&view=diff
==============================================================================
--- perl/modperl/branches/1.x/Symbol/Symbol.xs (original)
+++ perl/modperl/branches/1.x/Symbol/Symbol.xs Sat Aug 13 05:23:30 2011
@@ -2,6 +2,10 @@
 #include "perl.h"
 #include "XSUB.h"
 
+#ifndef CvGV_set
+# define CvGV_set(cv, val) (CvGV(cv) = val)
+#endif
+
 #ifdef PERL_OBJECT
 #define sv_name(svp) svp
 #define undef(ref) 

Modified: perl/modperl/branches/1.x/src/modules/perl/mod_perl.h
URL: http://svn.apache.org/viewvc/perl/modperl/branches/1.x/src/modules/perl/mod_perl.h?rev=1157326&r1=1157325&r2=1157326&view=diff
==============================================================================
--- perl/modperl/branches/1.x/src/modules/perl/mod_perl.h (original)
+++ perl/modperl/branches/1.x/src/modules/perl/mod_perl.h Sat Aug 13 05:23:30 2011
@@ -1031,7 +1031,7 @@ else { \
 #endif
 
 #ifndef CvGV_set
-#define CvGV_set(gv, cv) (CvGV(gv) = (cv))
+#define CvGV_set(cv, gv) (CvGV(cv) = (gv))
 #endif
 
 typedef struct {



Mime
View raw message