diff options
author | Craig A. Berry <craigberry@mac.com> | 2012-05-24 13:35:34 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2012-05-24 13:36:57 -0500 |
commit | 361ec98e5d8e7a23ae6e2670b72cb10c32d38c22 (patch) | |
tree | 6905589985ca1d0c84c32306ae0d08257100be44 /mathoms.c | |
parent | 3d33b3e38c6ebc44f7a92b552b886747008c4253 (diff) | |
download | perl-361ec98e5d8e7a23ae6e2670b72cb10c32d38c22.tar.gz |
Use the (START|END)_EXTERN_C macros.
We seem to use them everywhere else in core.
Diffstat (limited to 'mathoms.c')
-rw-r--r-- | mathoms.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -41,9 +41,7 @@ /* Not all of these have prototypes elsewhere, so do this to get * non-mangled names. */ -#ifdef __cplusplus -extern "C" { -#endif +START_EXTERN_C PERL_CALLCONV OP * Perl_ref(pTHX_ OP *o, I32 type); PERL_CALLCONV void Perl_sv_unref(pTHX_ SV *sv); @@ -1204,9 +1202,7 @@ Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp) return _to_utf8_upper_flags(p, ustrp, lenp, FALSE, NULL); } -#ifdef __cplusplus -} -#endif +END_EXTERN_C #endif /* NO_MATHOMS */ |