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, 01 Mar 2025 08:43:05 -0500

To: Johannes Larsen, notmuch@notmuchmail.org

Cc:

From: David Bremner


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?
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: