ext/oj/encode.h in oj-3.11.3 vs ext/oj/encode.h in oj-3.11.4

- old
+ new

@@ -1,16 +1,15 @@ // 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" -#include "oj.h" - -static inline VALUE -oj_encode(VALUE rstr) { +static inline VALUE oj_encode(VALUE rstr) { rb_enc_associate(rstr, oj_utf8_encoding); return rstr; } #endif /* OJ_ENCODE_H */