summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-25 14:13:09 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-25 14:13:09 +0000
commit902f5b583e9be14ccec22bc8e0a20ba88df74a6f (patch)
treebe231976842d93cdc330a577d3a0869567006506 /proto.h
parentd6260402f46894f93a4378ad66e7f8648172b889 (diff)
downloadperl-902f5b583e9be14ccec22bc8e0a20ba88df74a6f.tar.gz
Enclose the new symbols in START_EXTERN_C and END_EXTERN_C
for the benefit of C++ compilers, as suggested by Guruprasad. p4raw-id: //depot/perl@10928
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 411dcb3ede..2d6e432272 100644
--- a/proto.h
+++ b/proto.h
@@ -1321,6 +1321,9 @@ STATIC void S_xstat(pTHX_ int);
#if defined(PERL_OBJECT)
};
#endif
+
+START_EXTERN_C
+
PERL_CALLCONV void Perl_sv_setsv_flags(pTHX_ SV* dsv, SV* ssv, I32 flags);
PERL_CALLCONV void Perl_sv_catpvn_flags(pTHX_ SV* sv, const char* ptr, STRLEN len, I32 flags);
PERL_CALLCONV void Perl_sv_catsv_flags(pTHX_ SV* dsv, SV* ssv, I32 flags);
@@ -1328,3 +1331,6 @@ PERL_CALLCONV STRLEN Perl_sv_utf8_upgrade_flags(pTHX_ SV *sv, I32 flags);
PERL_CALLCONV char* Perl_sv_pvn_force_flags(pTHX_ SV* sv, STRLEN* lp, I32 flags);
PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV* sv, STRLEN* lp, I32 flags);
PERL_CALLCONV char* Perl_my_atof2(pTHX_ const char *s, NV* value);
+
+END_EXTERN_C
+