develooper Front page | perl.perl5.porters | Postings from September 2009

Re: Embedding Perl but redefining its malloc()

Thread Previous | Thread Next
Joshua ben Jore
September 25, 2009 09:43
Re: Embedding Perl but redefining its malloc()
Message ID:
On Thu, Sep 24, 2009 at 3:51 PM, Raphael Manfredi
<> wrote:
> Quoting Joshua ben Jore <> from ml.lang.perl.porters:
> :Presently this is done with macros in perl.h and handy.h. I just
> :followed handy.h:Newx's use of safemalloc to perl.h:safesysmalloc
> :which seems to live some lives around embed.h, proto.h and similar.
> So what do I do before instantiating the perl interpretor to install
> my own memory management rourtines?

Experiment til it works? Like I said, this is a perl library
compilation time activity so once your C macros are right, you can
compile perl and get it to pick up your new definitions.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About