mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert r45239 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
aad895181e
commit
f9466a02cd
3 changed files with 6 additions and 12 deletions
|
@ -8,12 +8,6 @@ Sun Mar 2 11:13:30 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|||
* ext/readline/extconf.rb (rl_hook_func_t): define as Function for
|
||||
very old readline versions. [ruby-core:61209] [Bug #9578]
|
||||
|
||||
Sun Mar 2 10:56:12 2014 Zachary Scott <e@zzak.io>
|
||||
|
||||
* README.EXT: [DOC] Remove needless char
|
||||
|
||||
* README.EXT.ja: ditto
|
||||
|
||||
Sun Mar 2 10:47:58 2014 Eric Wong <e@80x24.org>
|
||||
|
||||
* load.c (ruby_init_ext): make idempotent to suppress warnings
|
||||
|
|
|
@ -683,9 +683,9 @@ wrapping DBM* directly, because we want to cache size information.
|
|||
To retrieve the dbmdata structure from a Ruby object, we define the
|
||||
following macro:
|
||||
|
||||
#define GetDBM(obj, dbmp) {
|
||||
Data_Get_Struct(obj, struct dbmdata, dbmp);
|
||||
if (dbmp->di_dbm == 0) closed_dbm();
|
||||
#define GetDBM(obj, dbmp) {\
|
||||
Data_Get_Struct(obj, struct dbmdata, dbmp);\
|
||||
if (dbmp->di_dbm == 0) closed_dbm();\
|
||||
}
|
||||
|
||||
This sort of complicated macro does the retrieving and close checking for
|
||||
|
|
|
@ -763,9 +763,9 @@ dbm.cではData_Make_Structを以下のように使っています.
|
|||
Dataオブジェクトからdbmstruct構造体のポインタを取り出すため
|
||||
に以下のマクロを使っています.
|
||||
|
||||
#define GetDBM(obj, dbmp) {
|
||||
Data_Get_Struct(obj, struct dbmdata, dbmp);
|
||||
if (dbmp->di_dbm == 0) closed_dbm();
|
||||
#define GetDBM(obj, dbmp) {\
|
||||
Data_Get_Struct(obj, struct dbmdata, dbmp);\
|
||||
if (dbmp->di_dbm == 0) closed_dbm();\
|
||||
}
|
||||
|
||||
ちょっと複雑なマクロですが,要するにdbmdata構造体のポインタ
|
||||
|
|
Loading…
Reference in a new issue