diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-12-02 15:27:11 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-12-02 15:27:11 -0800 |
commit | 55beab1ff0061366376da92ce1aaa955545515d0 (patch) | |
tree | b686a7f007e4fd946961286e80c16413d16c5d52 | |
parent | f8c1608629a89910313ee56f2f4b90dd073bc6ad (diff) | |
parent | e1f43b360686923bf63262a7fdc6bbd12b752226 (diff) | |
download | psych-55beab1ff0061366376da92ce1aaa955545515d0.tar.gz |
Merge pull request #211 from tenderlove/fix-type-data
fixed build error caused by trunk changes
-rw-r--r-- | ext/psych/psych_emitter.c | 2 | ||||
-rw-r--r-- | ext/psych/psych_parser.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/psych/psych_emitter.c b/ext/psych/psych_emitter.c index 3fc8170..4ba2381 100644 --- a/ext/psych/psych_emitter.c +++ b/ext/psych/psych_emitter.c @@ -42,7 +42,9 @@ static const rb_data_type_t psych_emitter_type = { "Psych/emitter", {0, dealloc, 0,}, 0, 0, +#ifdef RUBY_TYPED_FREE_IMMEDIATELY RUBY_TYPED_FREE_IMMEDIATELY, +#endif }; static VALUE allocate(VALUE klass) diff --git a/ext/psych/psych_parser.c b/ext/psych/psych_parser.c index 6b72195..faae460 100644 --- a/ext/psych/psych_parser.c +++ b/ext/psych/psych_parser.c @@ -62,7 +62,9 @@ static const rb_data_type_t psych_parser_type = { "Psych/parser", {0, dealloc, 0,}, 0, 0, +#ifdef RUBY_TYPED_FREE_IMMEDIATELY RUBY_TYPED_FREE_IMMEDIATELY, +#endif }; static VALUE allocate(VALUE klass) |