summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-07-06 01:50:31 -0300
committerFather Chrysostomos <sprout@cpan.org>2011-10-06 13:01:05 -0700
commit3453414d531db0c778c66f126da0b0269cd8486f (patch)
tree31e5088e29c31a862522b412bb232bf53e44b244 /proto.h
parentd8fdd025024d41a9ad5abe7cd22c7e157f845656 (diff)
downloadperl-3453414d531db0c778c66f126da0b0269cd8486f.tar.gz
op.c: newCONSTSUB and newXS UTF8 cleanup.
newXS was merged into newXS_flags; added a line in the docs recommeding using that instead. newCONSTSUB got a _flags version, which generates the CV in the right glob if passed the UTF-8 flag.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 8a4a73d0c2..7fdfdcb6df 100644
--- a/proto.h
+++ b/proto.h
@@ -2528,6 +2528,7 @@ PERL_CALLCONV OP* Perl_newCONDOP(pTHX_ I32 flags, OP* first, OP* trueop, OP* fal
assert(first)
PERL_CALLCONV CV* Perl_newCONSTSUB(pTHX_ HV* stash, const char* name, SV* sv);
+PERL_CALLCONV CV* Perl_newCONSTSUB_flags(pTHX_ HV* stash, const char* name, U32 flags, SV* sv);
PERL_CALLCONV OP* Perl_newCVREF(pTHX_ I32 flags, OP* o)
__attribute__malloc__
__attribute__warn_unused_result__;