
4 Jun
2010
4 Jun
'10
4 p.m.
On Friday 04 June 2010 16:37:13 Chad Nelson wrote:
It's possible for a few of the primitives and more basic functions, but anything that has to allocate a temporary integer_t needs the full-fat version, or it won't know how to allocate and deallocate it properly. Someone using the library for a security program would be put out to discover that temporary variables ignored his stated allocator and Secure preference, for instance.
Isn't it possible to have a pointer to a function that does allocation/dealocation and is instantiated separately? And keep the pointer in data_t ?