diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 00:34:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-27 00:34:55 +0000 |
commit | e9e9ff1a4f93396498d33f7e72f7f089037d7f29 (patch) | |
tree | 61b37127bb41677102a19a738d7e5a29161e222f /doc/extension.rdoc | |
parent | b53ea6e32bf3f85ab175d2d54db4311a9599a6c5 (diff) | |
download | ruby-e9e9ff1a4f93396498d33f7e72f7f089037d7f29.tar.gz |
`nul` should be uppercase [ci skip]
* doc/extension.rdoc: [DOC] `nul` should be uppercase.
change 'nul' => 'NUL'. [Fix GH-1172]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/extension.rdoc')
-rw-r--r-- | doc/extension.rdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/extension.rdoc b/doc/extension.rdoc index f60e97f779..d9a856384c 100644 --- a/doc/extension.rdoc +++ b/doc/extension.rdoc @@ -115,11 +115,11 @@ is a String. Notice that the macros take only the lvalue as their argument, to change the value of var in place. You can also use the macro named StringValueCStr(). This is just -like StringValuePtr(), but always add nul character at the end of -the result. If the result contains nul character, this macro causes +like StringValuePtr(), but always add NUL character at the end of +the result. If the result contains NUL character, this macro causes the ArgumentError exception. -StringValuePtr() doesn't guarantee the existence of a nul at the end -of the result, and the result may contain nul. +StringValuePtr() doesn't guarantee the existence of a NUL at the end +of the result, and the result may contain NUL. Other data types have corresponding C structures, e.g. struct RArray for T_ARRAY etc. The VALUE of the type which has the corresponding |