diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-09-20 19:34:51 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-09-20 19:34:51 +0000 |
commit | 594c10dca58a5fa69624af729798b94360003867 (patch) | |
tree | 4ff3b5576dd7664548cc56d2ea203eeb8e539136 /proto.h | |
parent | e4cac7df8fef5d9f19bc94d1fcd29ad6afdfe734 (diff) | |
download | perl-594c10dca58a5fa69624af729798b94360003867.tar.gz |
Get mad compiling as C++. (At least for me)
p4raw-id: //depot/perl@31933
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4646,7 +4646,7 @@ PERL_CALLCONV void Perl_addmad(pTHX_ MADPROP* tm, MADPROP** root, char slot); PERL_CALLCONV MADPROP* Perl_newMADsv(pTHX_ char key, SV* sv) __attribute__nonnull__(pTHX_2); -PERL_CALLCONV MADPROP* Perl_newMADPROP(pTHX_ char key, char type, void* val, I32 vlen); +PERL_CALLCONV MADPROP* Perl_newMADPROP(pTHX_ char key, char type, const void* val, I32 vlen); PERL_CALLCONV void Perl_mad_free(pTHX_ MADPROP* mp); # if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT) |