summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-10-05 23:56:03 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-06 13:01:08 -0700
commit70b71ec84c6ce44565d910f531ad659af12a4c35 (patch)
tree9d679feb55796d6785e752a1059d0bd9195a61b0 /proto.h
parente69c50fe9ca52c29feb69acae8353cf429b666b6 (diff)
downloadperl-70b71ec84c6ce44565d910f531ad659af12a4c35.tar.gz
Add a sv_sethek() function to sv.c
This is exported so that attributes.xs can use it.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 7fdfdcb6df..0b9f5a60b0 100644
--- a/proto.h
+++ b/proto.h
@@ -4028,6 +4028,11 @@ PERL_CALLCONV SV* Perl_sv_rvweaken(pTHX_ SV *const sv)
#define PERL_ARGS_ASSERT_SV_RVWEAKEN \
assert(sv)
+PERL_CALLCONV void Perl_sv_sethek(pTHX_ SV *const sv, const HEK *const hek)
+ __attribute__nonnull__(pTHX_1);
+#define PERL_ARGS_ASSERT_SV_SETHEK \
+ assert(sv)
+
PERL_CALLCONV void Perl_sv_setiv(pTHX_ SV *const sv, const IV num)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_SV_SETIV \