summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>1998-03-15 20:09:05 +0100
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-03-16 16:18:35 +0000
commit5476c4332a5540db7fc38bfabed95022b6c04b1b (patch)
tree151a7f6b71dfab363c9ed5dbf468b9c674b8ab36 /proto.h
parent2ce36478e58aef6258082c58568c0f469f8eb69c (diff)
downloadperl-5476c4332a5540db7fc38bfabed95022b6c04b1b.tar.gz
newCONSTSUB added (XSUB equivalent for inlinable sub () { 123 }).
Subject: Bundling builtin.pm and newCONSTSUB with the core? p4raw-id: //depot/perl@821
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 8f2fb1406e..5754f5b3f5 100644
--- a/proto.h
+++ b/proto.h
@@ -302,6 +302,7 @@ OP* newANONHASH _((OP* o));
OP* newANONSUB _((I32 floor, OP* proto, OP* block));
OP* newASSIGNOP _((I32 flags, OP* left, I32 optype, OP* right));
OP* newCONDOP _((I32 flags, OP* expr, OP* trueop, OP* falseop));
+void newCONSTSUB _((HV* stash, char* name, SV* sv));
void newFORM _((I32 floor, OP* o, OP* block));
OP* newFOROP _((I32 flags, char* label, line_t forline, OP* scalar, OP* expr, OP*block, OP*cont));
OP* newLOGOP _((I32 optype, I32 flags, OP* left, OP* right));