reifydb-sdk 0.9.1

SDK for building ReifyDB operators, procedures, transforms and more
Documentation
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2026 ReifyDB

use core::ffi::c_void;

use crate::procedure::extern_c::wire::context::ExternCContextRaw;

#[repr(C)]
#[derive(Clone, Copy)]
pub struct ExternCProcedureVTable {
	pub call: unsafe extern "C" fn(
		instance: *mut c_void,
		ctx: *mut ExternCContextRaw,
		params_ptr: *const u8,
		params_len: usize,
	) -> i32,

	pub destroy: unsafe extern "C" fn(instance: *mut c_void),
}