summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2021-08-22 19:42:15 +0100
committerPaul Evans <leonerd@leonerd.org.uk>2021-08-25 19:57:49 +0100
commit11d028376675b37f3e9c5f15bc93ab00562a25d1 (patch)
treebd771b42ae3ba25ec964246c376e0dfa8ed61825 /proto.h
parent7c2d42a7fc929320cd3f6fa97291ee8853fab689 (diff)
downloadperl-11d028376675b37f3e9c5f15bc93ab00562a25d1.tar.gz
Add sv_setrv_inc()
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 3c10bab6a7..0aaf882aeb 100644
--- a/proto.h
+++ b/proto.h
@@ -3814,6 +3814,9 @@ PERL_CALLCONV SV* Perl_sv_setref_pvn(pTHX_ SV *const rv, const char *const class
PERL_CALLCONV SV* Perl_sv_setref_uv(pTHX_ SV *const rv, const char *const classname, const UV uv);
#define PERL_ARGS_ASSERT_SV_SETREF_UV \
assert(rv)
+PERL_CALLCONV void Perl_sv_setrv_inc(pTHX_ SV *const sv, SV *const ref);
+#define PERL_ARGS_ASSERT_SV_SETRV_INC \
+ assert(sv); assert(ref)
PERL_CALLCONV void Perl_sv_setrv_noinc(pTHX_ SV *const sv, SV *const ref);
#define PERL_ARGS_ASSERT_SV_SETRV_NOINC \
assert(sv); assert(ref)