I've got a project that makes heavy use of libtcc, and it would be useful if I could inform libtcc to use the application's memory allocator. Since tcc_new() itself of course allocates perhaps a reasonable approach would be something like:
TCCState *tcc_new_with_realloc(void *(*func)(void *ptr, unsigned long size)); Is there any interest in this? Does something like this already exist? (I looked) Thanks - Eric ([email protected]) _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
