struct JxlMemoryManagerStruct
{ ... };
void* (*alloc)(void*, size_t)
void (*free)(void*, void*)