summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-19 23:34:13 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-20 14:14:00 -0800
commit032a04476225083994159c2b89c018e2594bf76e (patch)
tree10bf9f93ebd9cfcb95dedeaa122d00ac162a331c /embed.fnc
parent6e948d54e675df9d5cbe684af247800599526af9 (diff)
downloadperl-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.fnc4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 37c15ceef7..16cc090ca1 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -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