diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-27 01:28:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-27 01:28:47 +0000 |
commit | bb10a21346fb1e66f581c8ef3110649b1ecb355a (patch) | |
tree | cc6fa8578838df1ba204b3a035d5293632f071bf /gc.c | |
parent | 2a8989d71c611884631c4d9ff5dba65aed00cc83 (diff) | |
download | ruby-bb10a21346fb1e66f581c8ef3110649b1ecb355a.tar.gz |
ruby.h: deprecate plain Data
* include/ruby/ruby.h (rb_data_object_alloc_deprecated): deprecate
Data_Make_Struct and Data_Wrap_Struct. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ #include <sys/types.h> #include <assert.h> +#undef rb_data_object_alloc + #ifndef __has_feature # define __has_feature(x) 0 #endif |