]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/ruby/defs.h
ruby: New exception Notmuch::UnbalancedAtomicError
[notmuch] / bindings / ruby / defs.h
index f00afeff736dc74be033b3427b54dbcb2dc1c4c5..5446868e9be602836853951558bb40c399180e8c 100644 (file)
@@ -44,6 +44,7 @@ VALUE notmuch_rb_eFileNotEmailError;
 VALUE notmuch_rb_eNullPointerError;
 VALUE notmuch_rb_eTagTooLongError;
 VALUE notmuch_rb_eUnbalancedFreezeThawError;
+VALUE notmuch_rb_eUnbalancedAtomicError;
 
 ID ID_call;
 ID ID_db_create;
@@ -150,6 +151,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);