View Single Post
Old 22 April 2022, 18:39   #31
pink^abyss
Registered User
 
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 410
Quote:
Originally Posted by Emufr3ak View Post
Thank Ernst. This definitely pointed me in the right Direction. It's possible to implement new operators for new and delete. This did the trick.
To have more control and introspection I can recommend using Tiny Alloc
as a generic allocator (https://github.com/thi-ng/tinyalloc).

I used it on an Amiga OCS C++ game project. I extended it to support multiple heaps and memory tracking to avoid leaks. Let me know if you need the sources.
pink^abyss is offline  
 
Page generated in 0.08318 seconds with 10 queries