NativeFinalizerFunction typedef - dart:ffi library (original) (raw)

description

NativeFinalizerFunction = NativeFunction<Void Function(Pointer<Void> token)>

The native function type for NativeFinalizers.

A NativeFinalizer's callback should have the Cvoid nativeFinalizer(void* token) type.

Implementation

typedef NativeFinalizerFunction =
    NativeFunction<Void Function(Pointer<Void> token)>;