summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-10 06:00:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-10 06:00:45 +0000
commit5e9ea3c75fdda92c2761a3ed463357272812c5c5 (patch)
tree771bef15dd5f4716503f92ae21a079c71099c1d6 /doc
parentaee5c4338bc51f007114ea42d468d01748c123fa (diff)
doc/extension.rdoc: Fix small copy+paste mistake
[Fix GH-1884] From: Lars Kanis <lars@greiz-reinsdorf.de> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/extension.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index 271ed67f9c..691631ea17 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -746,7 +746,7 @@ be assigned to sval, which should be a pointer of the type specified.
==== Ruby object to C struct
To retrieve the C pointer from the Data object, use the macro
-Data_Get_Struct().
+TypedData_Get_Struct().
TypedData_Get_Struct(obj, type, &data_type, sval)