mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/gdbm/gdbm.c (rb_gdbm_fatal): adjust argument type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
71d1102525
commit
ce515f5c8f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Sep 29 20:37:38 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/gdbm/gdbm.c (rb_gdbm_fatal): adjust argument type.
|
||||||
|
|
||||||
Thu Sep 29 20:10:42 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Sep 29 20:10:42 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* gc.c (is_id_value, is_live_object): extract from id2ref().
|
* gc.c (is_id_value, is_live_object): extract from id2ref().
|
||||||
|
|
|
@ -78,7 +78,7 @@ static VALUE rb_cGDBM, rb_eGDBMError, rb_eGDBMFatalError;
|
||||||
#define MY_BLOCK_SIZE (2048)
|
#define MY_BLOCK_SIZE (2048)
|
||||||
#define MY_FATAL_FUNC rb_gdbm_fatal
|
#define MY_FATAL_FUNC rb_gdbm_fatal
|
||||||
static void
|
static void
|
||||||
rb_gdbm_fatal(char *msg)
|
rb_gdbm_fatal(const char *msg)
|
||||||
{
|
{
|
||||||
rb_raise(rb_eGDBMFatalError, "%s", msg);
|
rb_raise(rb_eGDBMFatalError, "%s", msg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue