mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/dbm/dbm.c: fix wrong arguments in GetDBM2 macro by @v2e4lisp.
[fix GH-655] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c7fbc29605
commit
3caee48434
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Jul 13 17:25:50 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* ext/dbm/dbm.c: fix wrong arguments in GetDBM2 macro by @v2e4lisp.
|
||||
[fix GH-655]
|
||||
|
||||
Sun Jul 13 16:44:56 2014 Eric Wong <e@80x24.org>
|
||||
|
||||
* vm_core.h (struct rb_call_info_struct): improve packing
|
||||
|
|
|
@ -51,9 +51,9 @@ closed_dbm(void)
|
|||
if ((dbmp)->di_dbm == 0) closed_dbm();\
|
||||
} while (0)
|
||||
|
||||
#define GetDBM2(obj, data, dbm) do {\
|
||||
GetDBM((obj), (data));\
|
||||
(dbm) = dbmp->di_dbm;\
|
||||
#define GetDBM2(obj, dbmp, dbm) do {\
|
||||
GetDBM((obj), (dbmp));\
|
||||
(dbm) = (dbmp)->di_dbm;\
|
||||
} while (0)
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue