use core::ffi::c_void;
#[repr(C)]
pub struct CodeValueInfo {
pub tag: i32,
pub length: u64,
pub bytes: *const u8,
}
#[repr(C)]
pub struct CodeBorrowedApi {
pub version: u32,
pub inspect: unsafe extern "C" fn(*const c_void) -> CodeValueInfo,
pub field: unsafe extern "C" fn(*const c_void, *const u8, u64) -> *const c_void,
}