diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-09-19 18:48:10 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-09-19 18:48:10 +0000 |
commit | 5c4138a025eda994be5274f8b136021be9f9119e (patch) | |
tree | b5c61ce98d11757d1ce22f30728dc84667dedf3e | |
parent | ffd4ff43bd2a65a31e5f3808320b98b9851ba91e (diff) | |
download | perl-5c4138a025eda994be5274f8b136021be9f9119e.tar.gz |
First argument to he_dup is actually a const HE *
p4raw-id: //depot/perl@25497
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | hv.c | 2 | ||||
-rw-r--r-- | proto.h | 2 | ||||
-rw-r--r-- | sv.c | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -954,7 +954,7 @@ Apa |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAM Apa |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param Apa |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param Apa |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl -Apa |HE* |he_dup |NULLOK HE* e|bool shared|NN CLONE_PARAMS* param +Apa |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param Apa |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param Apa |REGEXP*|re_dup |NULLOK const REGEXP* r|NN CLONE_PARAMS* param Apa |PerlIO*|fp_dup |NULLOK PerlIO* fp|char type|NN CLONE_PARAMS* param @@ -145,7 +145,7 @@ Perl_hek_dup(pTHX_ HEK *source, CLONE_PARAMS* param) } HE * -Perl_he_dup(pTHX_ HE *e, bool shared, CLONE_PARAMS* param) +Perl_he_dup(pTHX_ const HE *e, bool shared, CLONE_PARAMS* param) { HE *ret; @@ -2603,7 +2603,7 @@ PERL_CALLCONV void* Perl_any_dup(pTHX_ void* v, const PerlInterpreter* proto_per __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_2); -PERL_CALLCONV HE* Perl_he_dup(pTHX_ HE* e, bool shared, CLONE_PARAMS* param) +PERL_CALLCONV HE* Perl_he_dup(pTHX_ const HE* e, bool shared, CLONE_PARAMS* param) __attribute__malloc__ __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_3); @@ -10625,7 +10625,7 @@ Perl_sv_dup(pTHX_ SV *sstr, CLONE_PARAMS* param) char); HvARRAY(dstr) = (HE**)darray; while (i <= sxhv->xhv_max) { - HE *source = HvARRAY(sstr)[i]; + const HE *source = HvARRAY(sstr)[i]; HvARRAY(dstr)[i] = source ? he_dup(source, sharekeys, param) : 0; ++i; |