summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d81fc4b)
Throw an exception if notmuch_database_destroy fails.
VALUE
notmuch_rb_database_close (VALUE self)
{
VALUE
notmuch_rb_database_close (VALUE self)
{
notmuch_database_t *db;
Data_Get_Notmuch_Database (self, db);
notmuch_database_t *db;
Data_Get_Notmuch_Database (self, db);
- notmuch_database_destroy (db);
+ ret = notmuch_database_destroy (db);
+ notmuch_rb_status_raise (ret);