diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-23 09:22:01 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-23 09:22:01 +0000 |
commit | 3ae1b22641a16d4d08aba688616c0f7cefb7d1f5 (patch) | |
tree | 328fb3e73472d14b47df8b7777382e58d14ab433 /av.h | |
parent | 3134ad69d93db50cabc8276feb0660bf859dbad1 (diff) | |
download | perl-3ae1b22641a16d4d08aba688616c0f7cefb7d1f5.tar.gz |
Deprecate (and remove core use of ) Nullav, Nullcv, Nullgv, Nullhe,
Nullhek and Nullhv. Nullop is going to be a bit less simple.
p4raw-id: //depot/perl@33051
Diffstat (limited to 'av.h')
-rw-r--r-- | av.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -57,6 +57,8 @@ typedef struct { =for apidoc AmU||Nullav Null AV pointer. +(deprecated - use C<(AV *)NULL> instead) + =head1 Array Manipulation Functions =for apidoc Am|int|AvFILL|AV* av @@ -65,7 +67,9 @@ Same as C<av_len()>. Deprecated, use C<av_len()> instead. =cut */ -#define Nullav Null(AV*) +#ifndef PERL_CORE +# define Nullav Null(AV*) +#endif #define AvARRAY(av) ((av)->sv_u.svu_array) #define AvALLOC(av) (*((SV***)&((XPVAV*) SvANY(av))->xav_alloc)) |