Crate opaque_pointer[]

Expand description

FFI opaque pointers.

FFI to use Rust objects from C as opaque pointer.

Modules

error

Opaque pointers errors.

Functions

freeDeprecated

Call to own_back<T>() ignoring the result.

mut_object

Mutable reference to a object but without back to own it.

object

Reference to a object but without to own it.

own_back

Opposite of raw<T>(), to use Rust’s ownership as usually.

raw

Get a heap-allocated raw pointer without ownership.