diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-09-06 23:21:56 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-09-06 23:25:51 -0700 |
commit | 7b6e8075e45ebc684565efbe3ce7b70435f20c79 (patch) | |
tree | 4eea134bdfd58f6bbffda483220ce8780b70e0d3 /embed.fnc | |
parent | 313efa9019b629125306f4c66c583d70960482b8 (diff) | |
download | perl-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.fnc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |