p4raw-id: //depot/perl@31933
Mp |void |addmad |NULLOK MADPROP* tm|NULLOK MADPROP** root \
|char slot
Mp |MADPROP*|newMADsv |char key|NN SV* sv
-Mp |MADPROP*|newMADPROP |char key|char type|NULLOK void* val|I32 vlen
+Mp |MADPROP*|newMADPROP |char key|char type|NULLOK const void* val \
+ |I32 vlen
Mp |void |mad_free |NULLOK MADPROP* mp
# if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
}
MADPROP *
-Perl_newMADPROP(pTHX_ char key, char type, void* val, I32 vlen)
+Perl_newMADPROP(pTHX_ char key, char type, const void* val, I32 vlen)
{
MADPROP *mp;
Newxz(mp, 1, MADPROP);
struct madprop {
MADPROP* mad_next;
- void *mad_val;
+ const void *mad_val;
U32 mad_vlen;
/* short mad_count; */
char mad_key;
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)