#[cxx::bridge]
pub(crate) mod ffi {
unsafe extern "C++" {
include!("cpp-utils.hh");
}
#[namespace = "orc"]
unsafe extern "C++" {
type Int128 = crate::int128::ffi::Int128;
}
#[namespace = "orcxx_rs"]
unsafe extern "C++" {
type Int64DataBuffer;
fn data(&self) -> *const i64;
}
#[namespace = "orcxx_rs"]
unsafe extern "C++" {
type Int128DataBuffer;
fn data(&self) -> *const Int128;
}
#[namespace = "orcxx_rs"]
unsafe extern "C++" {
type DoubleDataBuffer;
fn data(&self) -> *const f64;
}
#[namespace = "orcxx_rs"]
unsafe extern "C++" {
type StringDataBuffer;
fn data(&self) -> *const *mut c_char;
}
#[namespace = "orcxx_rs"]
unsafe extern "C++" {
type CharDataBuffer;
fn data(&self) -> *const c_char;
fn size(&self) -> u64;
}
}