Sha256: ee12986f85da094432da886335aa62319d466c79ce30c3ad8a8038dc9a04781b

Contents?: true

Size: 577 Bytes

Versions: 4

Compression:

Stored size: 577 Bytes

Contents

#ifndef FASTER_SUPPORT_OBJECT_BLANK_H
#define FASTER_SUPPORT_OBJECT_BLANK_H 1

#include "ruby.h"
#include "ruby/encoding.h"
#include "ruby/re.h"
#include "ruby/version.h"

#define STR_ENC_GET(str) rb_enc_from_index(ENCODING_GET(str))

#ifndef RUBY_API_VERSION_CODE
#define RUBY_BEFORE_2_2 1
#else
#define RUBY_BEFORE_2_2 (RUBY_API_VERSION_CODE < 20200)
#endif /* ifndef RUBY_API_VERSION_CODE */

#define RB_NEGATE(VAL) (VAL == Qtrue ? Qfalse : Qtrue)

void Init_str_blank(void);
void Init_ary_blank(void);
void Init_obj_blank(void);

#endif /* FASTER_SUPPORT_OBJECT_BLANK_H */

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
faster_support-0.2.1 ext/faster_support/core_ext/object/blank/blank.h
faster_support-0.2.0 ext/faster_support/core_ext/object/blank/blank.h
faster_support-0.1.4 ext/faster_support/object/blank/blank.h
faster_support-0.1.3 ext/faster_support/object/blank/blank.h