summaryrefslogtreecommitdiff
path: root/embed.pl
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 /embed.pl
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 'embed.pl')
-rwxr-xr-xembed.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/embed.pl b/embed.pl
index 4a9176fc6f..9ad4767a4f 100755
--- a/embed.pl
+++ b/embed.pl
@@ -2600,6 +2600,9 @@ s |void |xstat |int
#if defined(PERL_OBJECT)
};
#endif
+
+START_EXTERN_C
+
Apd |void |sv_setsv_flags |SV* dsv|SV* ssv|I32 flags
Apd |void |sv_catpvn_flags|SV* sv|const char* ptr|STRLEN len|I32 flags
Apd |void |sv_catsv_flags |SV* dsv|SV* ssv|I32 flags
@@ -2607,3 +2610,6 @@ Apd |STRLEN |sv_utf8_upgrade_flags|SV *sv|I32 flags
Apd |char* |sv_pvn_force_flags|SV* sv|STRLEN* lp|I32 flags
Apd |char* |sv_2pv_flags |SV* sv|STRLEN* lp|I32 flags
Ap |char* |my_atof2 |const char *s|NV* value
+
+END_EXTERN_C
+