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

Oh great all knowing Monks...

I have a question related to my memory issue from yesterday...

does this statement
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);

do memory allocation behind the scenes? if so how would one clear it? some sort of  safefree? I have tried researching the

Replies are listed 'Best First'.
Re: newXS memory question...
by Elian (Parson) on Jul 28, 2003 at 15:06 UTC
    Well, it allocates a few structures, but nothing big--that's how XS functions get registered so there are globs and CVs and such involved. The function's defined in op.c if you want to go take a look.
Re: newXS memory question...
by tomw1975 (Sexton) on Jul 27, 2003 at 20:28 UTC
    Kind of ended that one in mid sentence, sorry folks. Would anyone recommend a good book on the Memory manipulation of XS - cant seem to find any answers to my memory issues!

    I have Extending and Embeding Perl already....

    thanks