JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Pre vtable changes

Amber - ⁨1⁩ year ago

parent: tbd commit: ⁨d17a4b2

⁨giterated-abi/src/heap.rs⁩ - ⁨219⁩ bytes
Raw
1 use crate::FfiValue;
2
3 pub trait HeapPlacable {
4 unsafe extern "C" fn free(value: FfiValue<Self>, taken: bool);
5 }
6
7 impl<T> HeapPlacable for T {
8 unsafe extern "C" fn free(_value: FfiValue<Self>, _taken: bool) {}
9 }
10