summaryrefslogtreecommitdiff
path: root/README.EXT
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-12 23:45:48 (GMT)
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-12 23:45:48 (GMT)
commitd5526c660d64ee31341970816fbad8aaf0c27440 (patch)
tree120eb7491c9fb2f96f00f0c53dcfee4796e6aa22 /README.EXT
parenteb5147779da081b5d141a1ab3a6d8a582fdeed28 (diff)
* README.EXT: [DOC] fix example missing typedef with patch by
@steveklabnik [Fixes GH-739] https://github.com/ruby/ruby/pull/739 * README.EXT.jp: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r--README.EXT2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.EXT b/README.EXT
index 9f5c1a8..49de246 100644
--- a/README.EXT
+++ b/README.EXT
@@ -689,7 +689,7 @@ Here's the example of an initializing function.
Init_dbm(void)
{
/* define DBM class */
- cDBM = rb_define_class("DBM", rb_cObject);
+ VALUE cDBM = rb_define_class("DBM", rb_cObject);
/* DBM includes Enumerable module */
rb_include_module(cDBM, rb_mEnumerable);