summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-02-23 14:48:17 +0000
committerNicholas Clark <nick@ccl4.org>2010-05-24 13:48:46 +0100
commita09252eb79f700c93c37322c1ad831cf3193571b (patch)
tree72d71fd1a06a6f17d38ff5a13129dda2ee6e57c3 /proto.h
parent842c41230043ce99d4bf7b2c79aed85ce2908e89 (diff)
downloadperl-a09252eb79f700c93c37322c1ad831cf3193571b.tar.gz
Convert Perl_sv_dup_inc() from a macro to a real function.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 8d4f283aea..fe487af5b1 100644
--- a/proto.h
+++ b/proto.h
@@ -4295,6 +4295,12 @@ PERL_CALLCONV SV* Perl_sv_dup(pTHX_ const SV *const sstr, CLONE_PARAMS *const pa
#define PERL_ARGS_ASSERT_SV_DUP \
assert(param)
+PERL_CALLCONV SV* Perl_sv_dup_inc(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
+ __attribute__warn_unused_result__
+ __attribute__nonnull__(pTHX_2);
+#define PERL_ARGS_ASSERT_SV_DUP_INC \
+ assert(param)
+
PERL_CALLCONV void Perl_rvpv_dup(pTHX_ SV *const dstr, const SV *const sstr, CLONE_PARAMS *const param)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)