diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-22 09:52:32 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-22 09:52:32 +0000 |
commit | 7b036a8ea78e713adbd29778612693d405b91813 (patch) | |
tree | 69b2bb2ba59c42b5b7cab67ef5dfba2a5b6b5a9f /README.EXT | |
parent | c4bc9b575898ba352d0fea8289ebcaf8921dacd1 (diff) | |
download | ruby-7b036a8ea78e713adbd29778612693d405b91813.tar.gz |
* README.EXT, README.EXT.ja: use "sval" for the third argument
name of Data_Wrap_Struct().
Suggested by @satoh_fumiyasu. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r-- | README.EXT | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.EXT b/README.EXT index 045c359089..d81debcba9 100644 --- a/README.EXT +++ b/README.EXT @@ -562,7 +562,7 @@ The prototypes of the getter and setter functions are as follows: To wrap and objectify a C pointer as a Ruby object (so called DATA), use Data_Wrap_Struct(). - Data_Wrap_Struct(klass, mark, free, ptr) + Data_Wrap_Struct(klass, mark, free, sval) Data_Wrap_Struct() returns a created DATA object. The klass argument is the class for the DATA object. The mark argument is the function |