diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-01-29 18:28:16 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-01-29 18:28:16 +0000 |
commit | 29a861e74521a5f903bccb023c86950d733fa0b7 (patch) | |
tree | 30399e656738dc7add2288fa2aebd589eeaaf041 /embed.fnc | |
parent | e30fbb82116d47ef2569f2af20359965dc7fcae1 (diff) | |
download | perl-29a861e74521a5f903bccb023c86950d733fa0b7.tar.gz |
Add av_create_and_push() and av_create_and_unshift_one() to refactor
out two repeated idioms.
p4raw-id: //depot/perl@30064
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -106,11 +106,13 @@ Apd |void |av_fill |NN AV* ar|I32 fill ApdR |I32 |av_len |NN const AV* ar ApdR |AV* |av_make |I32 size|NN SV** svp Apd |SV* |av_pop |NN AV* ar +ApdoxM |void |av_create_and_push|NN AV **const avp|NN SV *const val Apd |void |av_push |NN AV* ar|NN SV* val p |void |av_reify |NN AV* ar ApdR |SV* |av_shift |NN AV* ar Apd |SV** |av_store |NN AV* ar|I32 key|NULLOK SV* val Apd |void |av_undef |NN AV* ar +ApdoxM |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val Apd |void |av_unshift |NN AV* ar|I32 num Apo |SV** |av_arylen_p |NN AV* av pR |OP* |bind_match |I32 type|NN OP* left|NN OP* pat |