summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 03:33:55 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 03:33:55 +0000
commitf9466a02cdd7502aa445d06e25ff45ed8548a0d4 (patch)
tree760e6f5bef3a3a000cef16983ec3bce4c8b45664
parentaad895181ee6852c39ac68ec9c98b74f33292eed (diff)
Revert r45239 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--README.EXT6
-rw-r--r--README.EXT.ja6
3 files changed, 6 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d85d1f..868cb70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/README.EXT b/README.EXT
index 14bd6f2..b1a816c 100644
--- a/README.EXT
+++ b/README.EXT
@@ -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
diff --git a/README.EXT.ja b/README.EXT.ja
index 64e73ef..ec2fe8c 100644
--- a/README.EXT.ja
+++ b/README.EXT.ja
@@ -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構造体のポインタ