cue-rs 0.1.0

Rust bindings for the [CUE](https://cuelang.org), using [libcue](https://github.com/cue-lang/libcue).
1
2
3
4
5
6
7
8
9
10
11
12
13
//! CUE objects dealocation

#[allow(dead_code)]
unsafe extern "C" {
    /// Releases the resource identified by `handle`.
    pub(crate) fn cue_free(handle: usize);

    /// Releases all resources identified by the null-terminated array of handles.
    pub(crate) fn cue_free_all(handles: *mut usize);

    /// Frees memory allocated by the C library (libc).
    pub(crate) fn libc_free(ptr: *mut core::ffi::c_void);
}