pub unsafe extern "C" fn JxlButteraugliApiCreate(
    memory_manager: *const JxlMemoryManager
) -> *mut JxlButteraugliApi
Expand description

Creates an instance of JxlButteraugliApi and initializes it.

@p memory_manager will be used for all the library dynamic allocations made from this instance. The parameter may be NULL, in which case the default allocator will be used. See jxl/memory_manager.h for details.

@param memory_manager custom allocator function. It may be NULL. The memory manager will be copied internally. @return @c NULL if the instance can not be allocated or initialized @return pointer to initialized JxlEncoder otherwise