summaryrefslogtreecommitdiff
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-18 20:46:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-18 20:46:13 +0000
commitcc6294a73ac6ecd6d4223a4a9ecea122119e776f (patch)
tree6dbb99d5d78de2f8bf873de3aae280fc7cd1633f /include/ruby/ruby.h
parent10a90fbce86c20f98dc4499eb0a34d9f347fdd29 (diff)
* include/ruby/ruby.h (rb_data_type_t): add new feature macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/ruby.h')
-rw-r--r--include/ruby/ruby.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 4d8b06feb9..7fcbf33bda 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -758,6 +758,10 @@ struct rb_data_type_struct {
by a programmer who define the type. */
};
+#define HAVE_TYPE_RB_DATA_TYPE_T 1
+#define HAVE_RB_DATA_TYPE_T_FUNCTION 1
+#define HAVE_RB_DATA_TYPE_T_PARENT 1
+
struct RTypedData {
struct RBasic basic;
const rb_data_type_t *type;