Sha256: 788e311c876ef5f2f3acb879aa7e858ec0d0ba9b23098bea14fc237c8993037d
Contents?: true
Size: 428 Bytes
Versions: 9
Compression:
Stored size: 428 Bytes
Contents
#ifndef FFI_COMPAT_H #define FFI_COMPAT_H #include <ruby.h> #ifndef RARRAY_LEN # define RARRAY_LEN(ary) RARRAY(ary)->len #endif #ifndef RARRAY_PTR # define RARRAY_PTR(ary) RARRAY(ary)->ptr #endif #ifndef RSTRING_LEN # define RSTRING_LEN(s) RSTRING(s)->len #endif #ifndef RSTRING_PTR # define RSTRING_PTR(s) RSTRING(s)->ptr #endif #ifndef NUM2ULL # define NUM2ULL(x) rb_num2ull((VALUE)x) #endif #endif /* FFI_COMPAT_H */
Version data entries
9 entries across 9 versions & 2 rubygems