Sha256: 971c1cd8ea4d99954ce403249c9bd755fcf6a4c19dec7b5d229db92ff5e7ef5b
Contents?: true
Size: 335 Bytes
Versions: 8
Compression:
Stored size: 335 Bytes
Contents
#[repr(C)] pub struct RubyArray { len: libc::size_t, data: *const libc::c_void, } impl RubyArray { #[allow(dead_code)] fn from_vec<T>(vec: Vec<T>) -> RubyArray { let array = RubyArray { data: vec.as_ptr() as *const libc::c_void, len: vec.len() as libc::size_t }; mem::forget(vec); array } }
Version data entries
8 entries across 8 versions & 1 rubygems