develooper Front page | perl.perl5.porters | Postings from October 2001

Re: Clamp, wherefor art thou

Thread Previous | Thread Next
From:
Arthur Bergman
Date:
October 30, 2001 12:39
Subject:
Re: Clamp, wherefor art thou
Message ID:
04f001c1616e$04dc2e40$21000a0a@win32.local



Ack.

int readonly_hv(pTHX_ SV* sv, MAGIC *mg) {
ofcourse
> int shared_sv_store_mg (pTHX_ SV* sv, MAGIC *mg) {
>     croak("Modification of readonly hash attempted");
> }
> 
> MGVTBL svtable = { 0,
>     MEMBER_TO_FPTR(readonly_hv),
>     0,
>     0,
>     0
> };
> 

Arthur

ps. Whatever documentation that documents custom magic vtables might want to point to shared.xs, should I provide a patch?


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About