Was it intended that d2f8ceac7 (tccrun: review last changes) would go
against the comment in libtcc.h?

/* set custom allocator for all allocations (optional) */
LIBTCCAPI void tcc_set_realloc(TCCReallocFunc *my_realloc);

Because default (unless -DCONFIG_RUNMEM_ALIGNED=0) since d2f8ceac7
is to use memalign() / libc_free() for some memory (mprotect()-ed ones?)
and the user-specified allocator for others.

At the very least, this diminishes the utility of a user-specified
allocator.

- Eric
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to