Overriding SDL's memory functions SDL_malloc & SDL_free


Am I correct in thinking that even when you re-define SDL_malloc in your app, that SDL will still use the original function because it’s within the DLL, so it won’t see the application-wide redefinition? Seems to be the case.

Are there any plans to allow custom memory functions? I remember someone talking about this a while ago. This would be really useful for garbage collection.