[前][次][番号順一覧][スレッド一覧]

ruby-changes:51416

From: nobu <ko1@a...>
Date: Sun, 10 Jun 2018 15:00:54 +0900 (JST)
Subject: [ruby-changes:51416] nobu:r63622 (trunk): doc/extension.rdoc: Fix small copy+paste mistake

nobu	2018-06-10 15:00:45 +0900 (Sun, 10 Jun 2018)

  New Revision: 63622

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63622

  Log:
    doc/extension.rdoc: Fix small copy+paste mistake
    [Fix GH-1884]
    
    From: Lars Kanis <lars@g...>

  Modified files:
    trunk/doc/extension.rdoc
Index: doc/extension.rdoc
===================================================================
--- doc/extension.rdoc	(revision 63621)
+++ doc/extension.rdoc	(revision 63622)
@@ -746,7 +746,7 @@ be assigned to sval, which should be a p https://github.com/ruby/ruby/blob/trunk/doc/extension.rdoc#L746
 ==== 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)
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]