nuopt_autoreleasepool_push

Hooks for handling auto release pools.

These optional pool callback functions allows implementers of numem to hook into the auto release pool system.

Push should push a new context onto an internal stack, while pop should release an element from the stack.

These functions are mainly useful for Objective-C interoperability.

extern (C) __gshared
void* function() @(nogc) nothrow @(system) nuopt_autoreleasepool_push;

See Also

Meta