reifydb-sdk 0.9.0

SDK for building ReifyDB operators, procedures, transforms and more
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2026 ReifyDB

use core::ffi::c_void;

use crate::{common::extern_c::wire::columns::ExternCColumns, transform::extern_c::wire::context::ExternCContextRaw};

#[repr(C)]
#[derive(Clone, Copy)]
pub struct ExternCTransformVTable {
	pub transform: unsafe extern "C" fn(
		instance: *mut c_void,
		ctx: *mut ExternCContextRaw,
		input: *const ExternCColumns,
	) -> i32,

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