diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-12-22 18:26:21 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-12-22 18:26:21 +0000 |
commit | 24792b8dabd61fb81a064d275b67bc65123a8d4c (patch) | |
tree | d586244a6482f635ca0ebf02092f2c76ff71c8d9 /handy.h | |
parent | d0cc0e64ef59c3e62362fbf0dc35c7753c137553 (diff) | |
download | perl-24792b8dabd61fb81a064d275b67bc65123a8d4c.tar.gz |
Remove the definitions of Null(), Nullch, Nullfp, Nullsv and PL_na
when PERL_CORE is defined. (Which, "obviously", is only in code
within the perl source tree, which we control). Nullop remains, and
would be moderately invasive to remove.
p4raw-id: //depot/perl@32707
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -19,23 +19,25 @@ #endif #endif -#define Null(type) ((type)NULL) +#ifndef PERL_CORE +# define Null(type) ((type)NULL) /* =head1 Handy Values =for apidoc AmU||Nullch -Null character pointer. +Null character pointer. (No longer available when C<PERL_CORE> is defined.) =for apidoc AmU||Nullsv -Null SV pointer. +Null SV pointer. (No longer available when C<PERL_CORE> is defined.) =cut */ -#define Nullch Null(char*) -#define Nullfp Null(PerlIO*) -#define Nullsv Null(SV*) +# define Nullch Null(char*) +# define Nullfp Null(PerlIO*) +# define Nullsv Null(SV*) +#endif #ifdef TRUE #undef TRUE |