On Tue, Apr 24, 2012 at 8:24 PM, Kristján Valur Jónsson
<krist...@ccpgames.com> wrote:
> Perhaps I should write about this on my blog.  Updating the memory allocation 
> macro layer in
> cPython for embedding is something I'd be inclined to contribute, but it will 
> involve a large amount
> of bikeshedding, I'm sure :)

Trawl the tracker before you do - I'm pretty sure there's a patch
(from the Nokia S60 port, IIRC) that adds a couple of macro
definitions so that platform ports and embedding applications can
intercept malloc() and free() calls.

It would be way out of date by now, but I seem to recall thinking it
looked reasonable at a quick glance.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to