Re: [PATCH 1/2] ruby: create an actual wrapper struct

Subject: Re: [PATCH 1/2] ruby: create an actual wrapper struct

Date: Sun, 18 Jul 2021 19:58:33 -0300

To: Felipe Contreras, notmuch@notmuchmail.org

Cc: Tomi Ollila

From: David Bremner


Felipe Contreras <felipe.contreras@gmail.com> writes:

> Currently Ruby data points directly to a notmuch object (e.g.
> notmuch_database_t), since we don't need any extra data that is fine.
>
> However, in the next commit we will need extra data, therefore we create
> a new struct notmuch_rb_object_t wrapper which contains nothing but a
> pointer to the current pointer (e.g. notmuch_database_t).

Series applied to master. I had a second look at the API and I'm
reasonably confident that all of the the things you call define_type for
are allocated by talloc.

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: