summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-29 16:25:38 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-29 16:25:38 +0000
commitcb2f1b7b22aef64f26e7bd5484244a0df0c94631 (patch)
tree03d68d985746fd34cd8beaffce05f47c0d0ecdc7 /proto.h
parent0feed65a3b89b009c18025da638bc5d9cd03851d (diff)
downloadperl-cb2f1b7b22aef64f26e7bd5484244a0df0c94631.tar.gz
sv_2pv_nolen, sv_2pvbyte_nolen and sv_2pvutf8_nolen can all be replaced
with terse macros, and the function bodies retired. p4raw-id: //depot/perl@25883
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/proto.h b/proto.h
index 82d35ef281..a932e61e5e 100644
--- a/proto.h
+++ b/proto.h
@@ -2594,17 +2594,17 @@ PERL_CALLCONV void Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 ne
PERL_CALLCONV void Perl_magic_dump(pTHX_ const MAGIC *mg);
PERL_CALLCONV void Perl_reginitcolors(pTHX);
-PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv)
+/* PERL_CALLCONV char* Perl_sv_2pv_nolen(pTHX_ SV* sv)
__attribute__warn_unused_result__
- __attribute__nonnull__(pTHX_1);
+ __attribute__nonnull__(pTHX_1); */
-PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
+/* PERL_CALLCONV char* Perl_sv_2pvutf8_nolen(pTHX_ SV* sv)
__attribute__warn_unused_result__
- __attribute__nonnull__(pTHX_1);
+ __attribute__nonnull__(pTHX_1); */
-PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
+/* PERL_CALLCONV char* Perl_sv_2pvbyte_nolen(pTHX_ SV* sv)
__attribute__warn_unused_result__
- __attribute__nonnull__(pTHX_1);
+ __attribute__nonnull__(pTHX_1); */
/* PERL_CALLCONV char* sv_pv(pTHX_ SV *sv)
__attribute__warn_unused_result__