[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Replacing memory default allocator with an application-sp
From: |
Eric Raible |
Subject: |
[Tinycc-devel] Replacing memory default allocator with an application-specific one |
Date: |
Fri, 30 Jun 2023 15:40:29 -0700 |
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 (raible@gmail.com)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] Replacing memory default allocator with an application-specific one,
Eric Raible <=