Message79309
Brett is right. Macroing the memory allocator is a better choice than
forcing indirection on all platforms. We did this on Python for S60,
using the macros PyCore_{MALLOC,REALLOC,FREE}_FUNC for interpreter's
allocations, and then redirected those to a mechanism that allows to set
the allocator at runtime.
Sorry we don't have a clean patch at present for this change only, but
in case anyone's interested the full source is at
https://garage.maemo.org/frs/?group_id=854 |
|
Date |
User |
Action |
Args |
2009-01-07 09:18:25 | jlaurila | set | recipients:
+ jlaurila, barry, brett.cannon, rhettinger, ncoghlan, Rhamphoryncus, neilo |
2009-01-07 09:18:25 | jlaurila | set | messageid: <1231319905.28.0.263491103532.issue3329@psf.upfronthosting.co.za> |
2009-01-07 09:18:24 | jlaurila | link | issue3329 messages |
2009-01-07 09:18:24 | jlaurila | create | |
|