On Wed, Sep 20, 2023 at 10:09:19PM +0200, Thomas Haller wrote: > "struct datatype" is for the most part immutable, and most callers deal > with const pointers. That's why datatype_get() accepts a const pointer > to increase the reference count (mutating the refcnt field). > > It should also return a const pointer. In fact, all callers are fine > with that already. Applied, thanks Thomas