diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-10-28 18:30:54 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-10-28 18:30:54 +0000 |
commit | dbebbdb4f8fce905319dd478ac6436d7a5ae8cad (patch) | |
tree | 2c82745a9bf79e01e084b0b204b8d623dd64406b /scope.h | |
parent | 0c289d1353d1d6a489307ffba4ca3a6f96e97809 (diff) | |
download | perl-dbebbdb4f8fce905319dd478ac6436d7a5ae8cad.tar.gz |
Add MUTABLE_HV(), and remove (HV *) casts from headers.
p4raw-id: //depot/perl@34619
Diffstat (limited to 'scope.h')
-rw-r--r-- | scope.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ Closing bracket on a callback. See C<ENTER> and L<perlcall>. #define SAVESHAREDPV(s) save_shared_pvref((char**)&(s)) #define SAVESETSVFLAGS(sv,mask,val) save_set_svflags(sv,mask,val) #define SAVEDELETE(h,k,l) \ - save_delete((HV*)(h), (char*)(k), (I32)(l)) + save_delete(MUTABLE_HV(h), (char*)(k), (I32)(l)) #define SAVEDESTRUCTOR(f,p) \ save_destructor((DESTRUCTORFUNC_NOCONTEXT_t)(f), (void*)(p)) |