mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/psych/psych_emitter.c: bakcport 5bd7744 from tenderlove/psych.
support backword compatibility of Ruby 2.0 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
86eda6244d
commit
3b3c323798
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Nov 8 14:01:22 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||
|
||||
* ext/psych/psych_emitter.c: bakcport 5bd7744 from tenderlove/psych.
|
||||
support backword compatibility of Ruby 2.0
|
||||
|
||||
Sun Nov 8 10:55:10 2015 Anton Davydov <antondavydov.o@gmail.com>
|
||||
|
||||
* io.c (rb_io_gets_m): Update IO#gets doc for characters more than
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
#include <psych.h>
|
||||
|
||||
#if !defined(RARRAY_CONST_PTR)
|
||||
#define RARRAY_CONST_PTR(s) (const VALUE *)RARRAY_PTR(s)
|
||||
#endif
|
||||
#if !defined(RARRAY_AREF)
|
||||
#define RARRAY_AREF(a, i) RARRAY_CONST_PTR(a)[i]
|
||||
#endif
|
||||
|
||||
VALUE cPsychEmitter;
|
||||
static ID id_write;
|
||||
static ID id_line_width;
|
||||
|
|
Loading…
Reference in a new issue