rgsl/ffi.rs
1//
2// A rust binding for the GSL library by Guillaume Gomez (guillaume1.gomez@gmail.com)
3//
4
5#[allow(clippy::upper_case_acronyms)]
6pub trait FFI<T> {
7 fn wrap(r: *mut T) -> Self;
8 fn soft_wrap(r: *mut T) -> Self;
9 fn unwrap_shared(&self) -> *const T;
10 fn unwrap_unique(&mut self) -> *mut T;
11}