Sha256: 04321549363efa1c3ea31e8c5abc62965774726756a58ed2ad38c0436b1c60a7

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

#ifndef _RB_ONIGURUMA_EXT_H_
#define _RB_ONIGURUMA_EXT_H_

#include <ruby.h>
#include "rb_oniguruma.h"

#define og_DefineConstantNames VALUE og_mOniguruma, og_cOniguruma_ORegexp
#define og_ObtainConstants do {                                                 \
  og_mOniguruma = rb_const_get(rb_cObject, rb_intern(OG_M_ONIGURUMA));          \
  og_cOniguruma_ORegexp = rb_const_get(og_mOniguruma, rb_intern(OG_C_OREGEXP)); \
} while(0);

#endif /* _RB_ONIGURUMA_EXT_H_ */

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geoffgarside-oniguruma-2.0.2 ext/rb_oniguruma_ext.h
geoffgarside-oniguruma-2.0.3 ext/rb_oniguruma_ext.h