rutie 0.9.0

The tie between Ruby and Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::AnyObject;

pub use crate::rubysys::types::{
    c_char, c_int, c_long, c_void, size_t, st_retval, Argc, CallbackMutPtr, CallbackPtr,
    EncodingIndex, EncodingType, Id, InternalValue, RbDataType as DataType,
    RbDataTypeFunction as DataTypeFunction, SignedValue, Value, ValueType, VmPointer,
};

#[cfg(unix)]
pub use crate::rubysys::types::RawFd;

pub type Callback<I, O> = extern "C" fn(Argc, *const AnyObject, I) -> O;