Re: [PATCH] ruby: fix "undefining the allocator of T_DATA" warnings

Subject: Re: [PATCH] ruby: fix "undefining the allocator of T_DATA" warnings

Date: Mon, 3 Mar 2025 10:45:51 -0600

To: David Bremner

Cc: Johannes Larsen, notmuch@notmuchmail.org

From: Felipe Contreras


On Sat, Mar 1, 2025 at 7:43 AM David Bremner <david@tethera.net> wrote:
>
> Johannes Larsen <mail@johslarsen.net> writes:
>
> > Ruby 3.2 introduced a warning when C-extensions use structs without
> > redefining the allocation default allocation routine meant for objects.
> > See https://bugs.ruby-lang.org/issues/18007 for details.
> >
> > In the Ruby bindings this happens at `Data_Wrap_Notmuch_Object` call
> > sites, so the object types used there needed to update their allocation.
>
> Any feedback Felipe?

It seems correct to me.

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

Thread: