Crate weak_alloc

Source

Modules§

instrument
Instrument failed allocations to detect applications that call malloc with an invalid argument. This is important because such calls to malloc will empty the WeakList (because the condition is to remove elements until malloc returns not null, and in that case malloc will always return null).

Structs§

ArcRef
WeakAlloc
A custom allocator that can be given ownership of data, returning a WeakRef.
WeakRef