This project has moved. For the latest updates, please go here.

Memory marking / report type patch

Jul 17, 2012 at 3:51 PM

First, thanks for an excellent and easy to use library.

I'm adding memory marking for idle-time leak detection (set "reported" to false for all allocations; mark from the roots much like garbage collection; report everything else as a leak). I also want to report using a MessageBox, so I have to aggregate the data from the report hook and know when it's done. To help with that, I defined some report types (error, warning, callstack, etc.) and pass them via the currently unused reportType parameter.

Would a patch of this nature be accepted (provided, of course, it fits with the existing coding style, which I've tried to follow)?