Hi Jonathan,
Jonathan Nieder wrote:
From: David Barr <redacted>
Add a memory pool library implemented using C macros. The obj_pool_gen()
macro creates a type-specific memory pool API.
Until some sort of mmap is implemented, I doubt we can do much better
than this. By marking all the generated functions MAYBE_UNUSED, we're
actually suppressing more warnings than intended. Maybe we can avoid
it and somehow find a way to mark only those functions that are really
unused? Perhaps an extra parameter in obj_pool_gen?
-- Ram