Closed dsm9000 closed 1 year ago
Depends on #287 .
allocAppendable() -- now takes an optional finalizable bool param which forces a finalizable size class. makeFinalizable() -- sets a finalizer for given ptr. destroy() -- calls finalizer, if one is set, then frees.
allocAppendable()
finalizable
makeFinalizable()
destroy()
Tests.
I propose we put this on the side while the appendable thing gets sorted out. This is has grown too big and is dependent on it.
Depends on #287 .
allocAppendable()
-- now takes an optionalfinalizable
bool param which forces a finalizable size class.makeFinalizable()
-- sets a finalizer for given ptr.destroy()
-- calls finalizer, if one is set, then frees.Tests.