diff options
author | Zefram <zefram@fysh.org> | 2010-10-04 22:19:08 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-12 12:52:12 -0700 |
commit | 2fcb4757c157c580cb9ddfcd3da7f1b3795d62a8 (patch) | |
tree | c1bd54a7dfc6549029adacc483327aa128f32dab /embed.fnc | |
parent | d056e33c1ea02abb0c031adb18b181624282ba3c (diff) | |
download | perl-2fcb4757c157c580cb9ddfcd3da7f1b3795d62a8.tar.gz |
APIify op list constructors
Put into the API op_append_elem, op_prepend_elem, and op_append_list. All
renamed from op_-less internal names. Parameter types for op_append_list
changed to match the rest of the op API and avoid some casting.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -173,10 +173,9 @@ XEop |bool |try_amagic_un |int method|int flags Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir Ap |int |Gv_AMupdate |NN HV* stash|bool destructing ApR |CV* |gv_handler |NULLOK HV* stash|I32 id -: Used in perly.y -p |OP* |append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last -: Used in perly.y -p |OP* |append_list |I32 optype|NULLOK LISTOP* first|NULLOK LISTOP* last +Apd |OP* |op_append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last +Apd |OP* |op_append_list |I32 optype|NULLOK OP* first|NULLOK OP* last +Apd |OP* |op_prepend_elem|I32 optype|NULLOK OP* first|NULLOK OP* last : FIXME - this is only called by pp_chown. They should be merged. p |I32 |apply |I32 type|NN SV** mark|NN SV** sp ApM |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len @@ -952,8 +951,6 @@ p |OP* |pmruntime |NN OP *o|NN OP *expr|bool isreg s |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl #endif Ap |void |pop_scope -: Used in perly.y -p |OP* |prepend_elem |I32 optype|NULLOK OP* head|NULLOK OP* tail Ap |void |push_scope Amb |OP* |ref |NULLOK OP* o|I32 type #if defined(PERL_IN_OP_C) |