cudf-cxx 0.3.1

cxx-based FFI bridge between Rust and NVIDIA libcudf C++ API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Bridge definitions for libcudf string reverse operations.

#[cxx::bridge(namespace = "cudf_shims")]
pub mod ffi {
    unsafe extern "C++" {
        include!("strings/reverse_shim.h");
        include!("column_shim.h");

        type OwnedColumn = crate::column::ffi::OwnedColumn;

        /// Reverse each string character-by-character.
        fn str_reverse(col: &OwnedColumn) -> Result<UniquePtr<OwnedColumn>>;
    }
}