summaryrefslogtreecommitdiff
path: root/perliol.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2007-01-30 06:20:21 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2007-01-30 17:39:58 +0000
commite670910b0c400b157be823734ec6e961eafe0d4a (patch)
treee493bb3616aed5025f344294b6d191088525dbf9 /perliol.h
parentc7fb9cc868654c002d9b7fa6bab082e47673296f (diff)
downloadperl-e670910b0c400b157be823734ec6e961eafe0d4a.tar.gz
one more iteration on PerlIO_teardown prototype
Message-Id: <20070130022021.6051443A67@anubis.hut.fi> p4raw-id: //depot/perl@30079
Diffstat (limited to 'perliol.h')
-rw-r--r--perliol.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/perliol.h b/perliol.h
index f062225248..0c57de1505 100644
--- a/perliol.h
+++ b/perliol.h
@@ -167,7 +167,10 @@ PERL_EXPORT_C PerlIO_list_t *PerlIO_clone_list(pTHX_ PerlIO_list_t *proto, CLONE
PERL_EXPORT_C void PerlIO_list_free(pTHX_ PerlIO_list_t *list);
PERL_EXPORT_C void PerlIO_list_push(pTHX_ PerlIO_list_t *list, PerlIO_funcs *funcs, SV *arg);
PERL_EXPORT_C void PerlIO_list_free(pTHX_ PerlIO_list_t *list);
-PERL_EXPORT_C void PerlIO_teardown(pTHX);
+
+/* PerlIO_teardown doesn't need exporting, but the EXTERN_C is needed
+ * for compiling as C++. Must also match with what perl.h says. */
+EXTERN_C void PerlIO_teardown(pTHX);
/*--------------------------------------------------------------------------------------*/
/* Generic, or stub layer functions */