rutie 0.10.3

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(any(unix, windows))]
pub use crate::rubysys::types::RawFd;

pub type Callback<I, O> = rutie_callback!(type fn(Argc, *const AnyObject, I) -> O);