Sha256: d09fef174db4ae9b5a30052a0699f2fd61fa17a98639d8a2ea0d7e980de8728a
Contents?: true
Size: 318 Bytes
Versions: 25
Compression:
Stored size: 318 Bytes
Contents
#ifndef COMPAT_HPP #define COMPAT_HPP #include <ruby.h> #ifdef PRIsVALUE # define RB_OBJ_CLASSNAME(obj) rb_obj_class(obj) # define RB_OBJ_STRING(obj) (obj) #else # define PRIsVALUE "s" # define RB_OBJ_CLASSNAME(obj) rb_obj_classname(obj) # define RB_OBJ_STRING(obj) StringValueCStr(obj) #endif #endif // COMPAT_HPP
Version data entries
25 entries across 25 versions & 1 rubygems