summaryrefslogtreecommitdiff
path: root/ext/sdbm/init.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-16 03:28:19 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-16 03:28:19 +0000
commit45b3c3ac39f7135b47c15224985a2a5fd3a086ee (patch)
tree3dcbf758afb5f72647f7354b1cff7ab32ef5fcda /ext/sdbm/init.c
parent3a7a773aeb3a3d01151f5624c04f3f57379be687 (diff)
* ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/sdbm/init.c')
-rw-r--r--ext/sdbm/init.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c
index 0fd837d..4eee215 100644
--- a/ext/sdbm/init.c
+++ b/ext/sdbm/init.c
@@ -117,11 +117,11 @@ fsdbm_close(VALUE obj)
}
/*
-* call-seq:
-* sdbm.closed? -> true or false
-*
-* Returns +true+ if the database is closed.
-*/
+ * call-seq:
+ * sdbm.closed? -> true or false
+ *
+ * Returns +true+ if the database is closed.
+ */
static VALUE
fsdbm_closed(VALUE obj)
{
@@ -142,20 +142,20 @@ fsdbm_alloc(VALUE klass)
return Data_Wrap_Struct(klass, 0, free_sdbm, 0);
}
/*
-* call-seq:
-* SDBM.new(filename, mode = 0666)
-*
-* Creates a new database handle by opening the given +filename+. SDBM actually
-* uses two physical files, with extensions '.dir' and '.pag'. These extensions
-* will automatically be appended to the +filename+.
-*
-* If the file does not exist, a new file will be created using the given
-* +mode+, unless +mode+ is explicitly set to nil. In the latter case, no
-* database will be created.
-*
-* If the file exists, it will be opened in read/write mode. If this fails, it
-* will be opened in read-only mode.
-*/
+ * call-seq:
+ * SDBM.new(filename, mode = 0666)
+ *
+ * Creates a new database handle by opening the given +filename+. SDBM actually
+ * uses two physical files, with extensions '.dir' and '.pag'. These extensions
+ * will automatically be appended to the +filename+.
+ *
+ * If the file does not exist, a new file will be created using the given
+ * +mode+, unless +mode+ is explicitly set to nil. In the latter case, no
+ * database will be created.
+ *
+ * If the file exists, it will be opened in read/write mode. If this fails, it
+ * will be opened in read-only mode.
+ */
static VALUE
fsdbm_initialize(int argc, VALUE *argv, VALUE obj)
{