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

Documentation for the perlapi document?

by BrowserUk (Patriarch)
on Feb 02, 2005 at 18:55 UTC ( [id://427372]=perlquestion: print w/replies, xml ) Need Help??

BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:

Is there any document that explains the contents of perlapi? Like what the parameters are?

In this specific case, what the int id parameters to the New/Newc/Newz memory allocation apis are?

But more generally, anything that goes into a little more depth about those functions and macros?


Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.

Replies are listed 'Best First'.
Re: Documentation for the perlapi document?
by dave_the_m (Monsignor) on Feb 02, 2005 at 19:03 UTC
    is there any document that explains the contents of perlapi?
    Yes, its called perlguts. In particular:
    The first argument C<x> was a "magic cookie" that was used to keep track of who called the macro, to help when debugging memory problems. However, the current code makes no use of this feature (most Perl developers now use run-time memory checkers), so this argument can be any number.

    Dave.

      Thanks. I was kind of afraid that might be the case.


      Examine what is said, not who speaks.
      Silence betokens consent.
      Love the truth but pardon error.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found