diff options
author | Ali Polatel <alip@exherbo.org> | 2011-10-04 16:41:52 +0300 |
---|---|---|
committer | Ali Polatel <alip@exherbo.org> | 2011-10-04 16:43:40 +0300 |
commit | 05dddf883dd762420bb8e6b86790e68d734fd568 (patch) | |
tree | 22ca0cdc8ec2d88fabc800b7294f83a8f0c9ac3f /bindings/ruby/filenames.c | |
parent | 898613116db746aa0f915ae43da8aba28545203d (diff) |
ruby: be consistent with notmuch's coding style
No functional change, just indentation
Diffstat (limited to 'bindings/ruby/filenames.c')
-rw-r--r-- | bindings/ruby/filenames.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bindings/ruby/filenames.c b/bindings/ruby/filenames.c index f577173..e278590 100644 --- a/bindings/ruby/filenames.c +++ b/bindings/ruby/filenames.c @@ -26,14 +26,14 @@ * Destroys the filenames, freeing all resources allocated for it. */ VALUE -notmuch_rb_filenames_destroy(VALUE self) +notmuch_rb_filenames_destroy (VALUE self) { notmuch_filenames_t *fnames; - Data_Get_Notmuch_FileNames(self, fnames); + Data_Get_Notmuch_FileNames (self, fnames); - notmuch_filenames_destroy(fnames); - DATA_PTR(self) = NULL; + notmuch_filenames_destroy (fnames); + DATA_PTR (self) = NULL; return Qnil; } @@ -45,14 +45,14 @@ notmuch_rb_filenames_destroy(VALUE self) * parameter. */ VALUE -notmuch_rb_filenames_each(VALUE self) +notmuch_rb_filenames_each (VALUE self) { notmuch_filenames_t *fnames; - Data_Get_Notmuch_FileNames(self, fnames); + Data_Get_Notmuch_FileNames (self, fnames); - for (; notmuch_filenames_valid(fnames); notmuch_filenames_move_to_next(fnames)) - rb_yield(rb_str_new2(notmuch_filenames_get(fnames))); + for (; notmuch_filenames_valid (fnames); notmuch_filenames_move_to_next (fnames)) + rb_yield (rb_str_new2 (notmuch_filenames_get (fnames))); return self; } |