ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Devel-FindRef/FindRef.xs
(Generate patch)

Comparing Devel-FindRef/FindRef.xs (file contents):
Revision 1.3 by root, Thu Jan 11 23:06:51 2007 UTC vs.
Revision 1.4 by root, Wed Feb 7 21:34:02 2007 UTC

1#include "EXTERN.h" 1#include "EXTERN.h"
2#include "perl.h" 2#include "perl.h"
3#include "XSUB.h" 3#include "XSUB.h"
4
5#define PERL_VERSION_ATLEAST(a,b,c) \
6 (PERL_REVISION > (a) \
7 || (PERL_REVISION == (a) \
8 && (PERL_VERSION > (b) \
9 || (PERL_VERSION == (b) && PERLSUBVERSION >= (c)))))
10
11#if !PERL_VERSION_ATLEAST (5,8,9)
12# define SVt_LAST 16
13#endif
4 14
5#define res_pair(text) \ 15#define res_pair(text) \
6 { \ 16 { \
7 AV *av = newAV (); \ 17 AV *av = newAV (); \
8 av_push (av, newSVpv (text, 0)); \ 18 av_push (av, newSVpv (text, 0)); \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines