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

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

Date: Sat, 08 Mar 2025 15:13:25 -0400

To: Felipe Contreras

Cc: Johannes Larsen, notmuch@notmuchmail.org

From: David Bremner


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

> 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.

applied to release and master.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: