• Kevin Modzelewski's avatar
    Change PyMem_Malloc to be gc_malloc instead of malloc · 918b0f00
    Kevin Modzelewski authored
    I didn't realize that pymem.h defined it originally to be malloc(),
    which was messing things up when we would start allocating GC objects
    using malloc().
    
    Now that that's redefined, I *think* that as long as everything uses the
    API functions, we shouldn't need to override / hook malloc().
    There are a number of uses of raw malloc() in the Modules directory;
    I hope that they're mostly string-related.
    918b0f00
collector.h 2.51 KB