aboutsummaryrefslogtreecommitdiffstats
path: root/doc/extension.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/extension.rdoc')
-rw-r--r--doc/extension.rdoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index cac63a6517..271ed67f9c 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -658,6 +658,8 @@ If it doesn't, you have to call rb_undef_alloc_func(klass).
rb_data_type_t is defined like this. Let's take a look at each
member of the struct.
+ typedef struct rb_data_type_struct rb_data_type_t;
+
struct rb_data_type_struct {
const char *wrap_struct_name;
struct {