summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-09-06 23:21:56 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-09-06 23:25:51 -0700
commit7b6e8075e45ebc684565efbe3ce7b70435f20c79 (patch)
tree4eea134bdfd58f6bbffda483220ce8780b70e0d3 /embed.fnc
parent313efa9019b629125306f4c66c583d70960482b8 (diff)
downloadperl-7b6e8075e45ebc684565efbe3ce7b70435f20c79.tar.gz
Let av_push accept NULL values
Now that NULL is used for a nonexistent element, it is easy for XS code to pass it to av_push(). av_store already accepts NULL, and av_push already works with it on non-debugging builds, so there is really no need for this restriction.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 11425ad8a7..4940ae47fb 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -219,7 +219,7 @@ ApdR |SSize_t|av_len |NN AV *av
ApdR |AV* |av_make |SSize_t size|NN SV **strp
Apd |SV* |av_pop |NN AV *av
ApdoxM |void |av_create_and_push|NN AV **const avp|NN SV *const val
-Apd |void |av_push |NN AV *av|NN SV *val
+Apd |void |av_push |NN AV *av|NULLOK SV *val
: Used in scope.c, and by Data::Alias
EXp |void |av_reify |NN AV *av
ApdR |SV* |av_shift |NN AV *av