From bbb41081d797c3301e4d202e30c4111207fe7693 Mon Sep 17 00:00:00 2001 From: Ali Polatel Date: Sat, 24 Sep 2011 15:43:43 +0300 Subject: ruby: Wrap notmuch_database_{begin,end}_atomic Adding ruby wrappers for functions: - notmuch_database_begin_atomic() - notmuch_database_end_atomic() added by 957f1ba3fc1d737887029ff1787fc6bea94de00b New functions: Notmuch::Database.begin_atomic() Notmuch::Database.end_atomic() --- bindings/ruby/defs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bindings/ruby/defs.h') diff --git a/bindings/ruby/defs.h b/bindings/ruby/defs.h index f00afeff..a0303169 100644 --- a/bindings/ruby/defs.h +++ b/bindings/ruby/defs.h @@ -150,6 +150,12 @@ notmuch_rb_database_needs_upgrade(VALUE self); VALUE notmuch_rb_database_upgrade(VALUE self); +VALUE +notmuch_rb_database_begin_atomic(VALUE self); + +VALUE +notmuch_rb_database_end_atomic(VALUE self); + VALUE notmuch_rb_database_get_directory(VALUE self, VALUE pathv); -- cgit v1.2.3