Sha256: e842ec81d69520763649ac8eb66aa2ca7825b7b88b82e7f4e91de928a6de7751
Contents?: true
Size: 499 Bytes
Versions: 63
Compression:
Stored size: 499 Bytes
Contents
#ifndef COMPAT_H #define COMPAT_H #if !defined RSTRING_LEN #define RSTRING_LEN(a) RSTRING(a)->len #endif #if !defined RSTRING_PTR #define RSTRING_PTR(a) RSTRING(a)->ptr #endif #if !defined RARRAY_LEN #define RARRAY_LEN(a) RARRAY(a)->len #endif #if !defined RARRAY_PTR #define RARRAY_PTR(a) RARRAY(a)->ptr #endif #if !defined RARRAY_AREF #define RARRAY_AREF(a,i) RARRAY_PTR(a)[i] #endif #if !defined RARRAY_ASET #define RARRAY_ASET(a,i,v) (RARRAY_PTR(a)[i] = v) #endif #endif /* ifndef COMPAT_H */
Version data entries
63 entries across 40 versions & 2 rubygems