diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-02-23 14:48:17 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-05-24 13:48:46 +0100 |
commit | a09252eb79f700c93c37322c1ad831cf3193571b (patch) | |
tree | 72d71fd1a06a6f17d38ff5a13129dda2ee6e57c3 /proto.h | |
parent | 842c41230043ce99d4bf7b2c79aed85ce2908e89 (diff) | |
download | perl-a09252eb79f700c93c37322c1ad831cf3193571b.tar.gz |
Convert Perl_sv_dup_inc() from a macro to a real function.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |