aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-26 23:28:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-26 23:28:07 +0000
commit45cc47555f78db7ca51b721298d2f935edbf4440 (patch)
treee49c818b5bc5a5a8a32159094640c9291524e4d0 /doc
parentd9b8e46a014498ad759a942ce93bee72cff8b427 (diff)
downloadruby-45cc47555f78db7ca51b721298d2f935edbf4440.tar.gz
Show rb_data_type_t definition [ci skip]
[Fix GH-1707] Author: hkdnet <hkdnet@users.noreply.github.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/extension.ja.rdoc2
-rw-r--r--doc/extension.rdoc2
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/extension.ja.rdoc b/doc/extension.ja.rdoc
index 43b854d75c..88f300a562 100644
--- a/doc/extension.ja.rdoc
+++ b/doc/extension.ja.rdoc
@@ -711,6 +711,8 @@ Dataから派生しない場合には, 必ずrb_undef_alloc_func(klass)
rb_data_type_tは次のように定義されています.
+ typedef struct rb_data_type_struct rb_data_type_t;
+
struct rb_data_type_struct {
const char *wrap_struct_name;
struct {
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 {