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 /ext | |
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 'ext')
-rw-r--r-- | ext/B/B.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_symbian.xs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/B/B.xs b/ext/B/B.xs index 30635f73c4..c9a4c99d26 100644 --- a/ext/B/B.xs +++ b/ext/B/B.xs @@ -1142,7 +1142,7 @@ SVOP_gv(o) #define PADOP_sv(o) (o->op_padix ? PAD_SVl(o->op_padix) : Nullsv) #define PADOP_gv(o) ((o->op_padix \ && SvTYPE(PAD_SVl(o->op_padix)) == SVt_PVGV) \ - ? (GV*)PAD_SVl(o->op_padix) : Nullgv) + ? (GV*)PAD_SVl(o->op_padix) : (GV *)NULL) MODULE = B PACKAGE = B::PADOP PREFIX = PADOP_ diff --git a/ext/DynaLoader/dl_symbian.xs b/ext/DynaLoader/dl_symbian.xs index f7ddc09e4a..1461142ef3 100644 --- a/ext/DynaLoader/dl_symbian.xs +++ b/ext/DynaLoader/dl_symbian.xs @@ -78,7 +78,7 @@ void* dlopen(const char *filename, int flags) { h = new PerlSymbianLibHandle; if (h) { h->error = KErrNone; - h->symbols = Nullhv; + h->symbols = (HV *)NULL; } else error = KErrNoMemory; } |