mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
aee5c4338b
commit
5e9ea3c75f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue