Sha256: 6d2dcca0dea814cd9daf00d6421a18a6f9c4a5799068ffd0d6a2bc88f9b422d8
Contents?: true
Size: 369 Bytes
Versions: 3
Compression:
Stored size: 369 Bytes
Contents
#ifndef UTF8_EXT_H #define UTF8_EXT_H #include <ruby.h> #ifdef HAVE_RUBY_ENCODING_H #include <ruby/encoding.h> extern rb_encoding *utf8Encoding; #define AS_UTF8(_str) \ _str = rb_funcall(_str, intern_as_utf8, 0); \ rb_enc_associate(_str, utf8Encoding); #else #define AS_UTF8(_str) _str = rb_funcall(_str, intern_as_utf8, 0) #endif #endif
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
utf8-0.1.2 | ext/utf8/ext.h |
utf8-0.1.1 | ext/utf8/ext.h |
utf8-0.1.0 | ext/utf8/ext.h |