Sha256: 858591003aa9deebc06026e4cb0e6fd47f105d52265f2a5b5df28a5e9e6f5160
Contents?: true
Size: 388 Bytes
Versions: 48
Compression:
Stored size: 388 Bytes
Contents
// Copyright (c) 2011 Peter Ohler. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license details. #ifndef OJ_ENCODE_H #define OJ_ENCODE_H #include "oj.h" #include "ruby.h" #include "ruby/encoding.h" static inline VALUE oj_encode(VALUE rstr) { rb_enc_associate(rstr, oj_utf8_encoding); return rstr; } #endif /* OJ_ENCODE_H */
Version data entries
48 entries across 48 versions & 2 rubygems