|
TachyonUI 1.1.0
High-performance UI for building tools.
|
Go to the source code of this file.
Classes | |
| class | tachyon::LibraryAllocator::HeapScope |
| While one lives, what the libraries allocate on this thread comes from the C heap, even with a route in place. More... | |
Namespaces | |
| namespace | tachyon |
| namespace | tachyon::LibraryAllocator |
| Where the text and SVG libraries (HarfBuzz, skribidi, SheenBidi, nanosvg) get their memory: the C heap, or a host's allocation hooks while a route is in place. | |
Typedefs | |
| using | tachyon::LibraryAllocator::RouteHandle = const void* |
| A route, as Route returns it; null when nothing was routed. | |
Functions | |
| void * | tachyon_library_malloc (size_t size) |
| void * | tachyon_library_calloc (size_t count, size_t size) |
| void * | tachyon_library_realloc (void *ptr, size_t size) |
| void | tachyon_library_free (void *ptr) |
| RouteHandle | tachyon::LibraryAllocator::Route (const AllocationHooks &hooks) |
| From now on the libraries allocate through hooks. | |
| void | tachyon::LibraryAllocator::Unroute (RouteHandle route) |
| Back to the C heap, if route is still the one in place. | |
| bool | tachyon::LibraryAllocator::IsRouted () |
| Whether the libraries allocate through hooks right now. | |
| void * tachyon_library_malloc | ( | size_t | size | ) |
| void * tachyon_library_calloc | ( | size_t | count, |
| size_t | size ) |
| void * tachyon_library_realloc | ( | void * | ptr, |
| size_t | size ) |
| void tachyon_library_free | ( | void * | ptr | ) |