From 5e9ea3c75fdda92c2761a3ed463357272812c5c5 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 10 Jun 2018 06:00:45 +0000 Subject: [PATCH] doc/extension.rdoc: Fix small copy+paste mistake [Fix GH-1884] From: Lars Kanis git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/extension.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)