Type Definition cpp_utils::Deleter

source ·
pub type Deleter<T> = unsafe extern "C" fn(this_ptr: *mut T);
Expand description

Deleter function type.

This is usually a C++ function imported via FFI from a wrapper library. The body of this function should be “delete this_ptr;”.