Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Reconstructing an (SV *) when you know the address and the precise structure of the said SV

by idsfa (Vicar)
on Sep 19, 2003 at 05:02 UTC ( [id://292585]=note: print w/replies, xml ) Need Help??


in reply to Reconstructing an (SV *) when you know the address and the precise structure of the said SV

Can you cast ptr as a (void **) instead? This will prevent "helpful" attempts to understand the data. You seem to be wanting:

SV *val = **((void **)(ptr)); sv_dump(val);

(The contents of the memory location specified by the contents of the memory location stored in ptr is a pointer to an SV)

Or have I completely missed your question?


Remember, when you stare long into the abyss, you could have been home eating ice cream.
  • Comment on Re: Reconstructing an (SV *) when you know the address and the precise structure of the said SV
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://292585]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found