summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 01:57:42 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 01:57:42 +0000
commit44363557ac9c47cb54a9e7b4d8d99bd891dc7f91 (patch)
treef7b91088553af60c9a5c4ee117d91e1590458b3b
parent47d6a7ee1c87697d650f402fc0899e7407fc3e10 (diff)
downloadruby-44363557ac9c47cb54a9e7b4d8d99bd891dc7f91.tar.gz
* README.EXT: [DOC] Remove needless char
* README.EXT.ja: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--README.EXT6
-rw-r--r--README.EXT.ja6
3 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index cf2efda9b9..500753d5b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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 b1a816c271..14bd6f2c79 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 ec2fe8c8b4..64e73eff29 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構造体のポインタ