[PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-04-25 Thread Austin Clements
On Mon, 23 Apr 2012, Justus Winter <4winter at informatik.uni-hamburg.de> wrote: > Quoting Felipe Contreras (2012-04-23 14:36:33) >> I don't think this is the right approach. If database_destroy truly >> destroys the object, then we would want to do it only at garbage >> collection, when it's not

[PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-04-23 Thread Felipe Contreras
Hi, On Sun, Apr 22, 2012 at 3:07 PM, Justus Winter <4winter at informatik.uni-hamburg.de> wrote: > Adapt the ruby bindings to the notmuch_database_close split. > > Signed-off-by: Justus Winter <4winter at informatik.uni-hamburg.de> > --- > ?bindings/ruby/database.c | ? ?2 +- > ?1 file changed, 1

Re: [PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-04-23 Thread Felipe Contreras
Hi, On Sun, Apr 22, 2012 at 3:07 PM, Justus Winter 4win...@informatik.uni-hamburg.de wrote: Adapt the ruby bindings to the notmuch_database_close split. Signed-off-by: Justus Winter 4win...@informatik.uni-hamburg.de ---  bindings/ruby/database.c |    2 +-  1 file changed, 1 insertion(+), 1

Re: [PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-04-23 Thread Justus Winter
Quoting Felipe Contreras (2012-04-23 14:36:33) I don't think this is the right approach. If database_destroy truly destroys the object, then we would want to do it only at garbage collection, when it's not accessible any more. What if I want to re-use the database from the Ruby code? This

[PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-04-22 Thread Justus Winter
Adapt the ruby bindings to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter at informatik.uni-hamburg.de> --- bindings/ruby/database.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/ruby/database.c b/bindings/ruby/database.c index

[PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-04-22 Thread Justus Winter
Adapt the ruby bindings to the notmuch_database_close split. Signed-off-by: Justus Winter 4win...@informatik.uni-hamburg.de --- bindings/ruby/database.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/ruby/database.c b/bindings/ruby/database.c index

[PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-03-21 Thread Justus Winter
Adapt the ruby bindings to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter at informatik.uni-hamburg.de> --- bindings/ruby/database.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bindings/ruby/database.c b/bindings/ruby/database.c index

[PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-03-20 Thread Justus Winter
Adapt the ruby bindings to the notmuch_database_close split. Signed-off-by: Justus Winter 4win...@informatik.uni-hamburg.de --- bindings/ruby/database.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bindings/ruby/database.c b/bindings/ruby/database.c index