diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-20 11:23:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-20 11:23:40 +0000 |
commit | 55282e0a796dd376b2191e9ffaadaa7263facac4 (patch) | |
tree | 7bcf8eae31dd7fd935079674077e23ae49e28490 /ext/gdbm | |
parent | ab29e6d347c397752483a22c72e64b4f82c9e9cd (diff) | |
download | ruby-55282e0a796dd376b2191e9ffaadaa7263facac4.tar.gz ruby-55282e0a796dd376b2191e9ffaadaa7263facac4.tar.xz ruby-55282e0a796dd376b2191e9ffaadaa7263facac4.zip |
* ext/curses/curses.c, ext/digest/digest.c, ext/dl/handle.c,
ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c, ext/iconv/iconv.c,
ext/stringio/stringio.c, ext/strscan/strscan.c,
ext/tcltklib/tcltklib.c, ext/win32ole/win32ole.c:
use rb_define_alloc_func().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm')
-rw-r--r-- | ext/gdbm/gdbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c index 6ee4d6d6a..143449c21 100644 --- a/ext/gdbm/gdbm.c +++ b/ext/gdbm/gdbm.c @@ -921,7 +921,7 @@ Init_gdbm() rb_eGDBMFatalError = rb_define_class("GDBMFatalError", rb_eException); rb_include_module(rb_cGDBM, rb_mEnumerable); - rb_define_singleton_method(rb_cGDBM, "allocate", fgdbm_s_alloc, 0); + rb_define_alloc_func(rb_cGDBM, fgdbm_s_alloc); rb_define_singleton_method(rb_cGDBM, "open", fgdbm_s_open, -1); rb_define_method(rb_cGDBM, "initialize", fgdbm_initialize, -1); |