diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-11-19 23:34:13 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-11-20 14:14:00 -0800 |
commit | 032a04476225083994159c2b89c018e2594bf76e (patch) | |
tree | 10bf9f93ebd9cfcb95dedeaa122d00ac162a331c /embed.fnc | |
parent | 6e948d54e675df9d5cbe684af247800599526af9 (diff) | |
download | perl-032a04476225083994159c2b89c018e2594bf76e.tar.gz |
Add newXS_len_flags
It accepts a length as well as a pv for the name.
Since newXS_flags is marked with M in embed.fnc and is undocumented,
technically policy allows me to change it, but there are files
throughout cpan/ that use newXS_flags. So it seemed safer to add a
new function.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -874,6 +874,10 @@ Apda |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop Apda |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o Abm |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto \ |NULLOK OP* block +p |CV * |newXS_len_flags|NULLOK const char *name|STRLEN len \ + |NN XSUBADDR_t subaddr\ + |NN const char *const filename \ + |NULLOK const char *const proto|U32 flags ApM |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\ |NN const char *const filename \ |NULLOK const char *const proto|U32 flags |