Sha256: 7fac1a1b8d518ceefea3b7b0bdbf66a747b48c3bd19d6d910f9e3bd2c2cabb4e
Contents?: true
Size: 296 Bytes
Versions: 8
Compression:
Stored size: 296 Bytes
Contents
// Copyright (c) 2011 Peter Ohler. All rights reserved. #ifndef OJ_ENCODE_H #define OJ_ENCODE_H #include "ruby.h" #include "ruby/encoding.h" #include "oj.h" static inline VALUE oj_encode(VALUE rstr) { rb_enc_associate(rstr, oj_utf8_encoding); return rstr; } #endif /* OJ_ENCODE_H */
Version data entries
8 entries across 8 versions & 1 rubygems