Searched refs:allocdata (Results 1 - 3 of 3) sorted by relevance
/external/libvterm/src/ |
H A D | vterm.c | 12 static void *default_malloc(size_t size, void *allocdata) argument 20 static void default_free(void *ptr, void *allocdata) argument 35 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata) argument 38 VTerm *vt = (*funcs->malloc)(sizeof(VTerm), allocdata); 41 vt->allocdata = allocdata; 75 return (*vt->allocator->malloc)(size, vt->allocdata); 80 (*vt->allocator->free)(ptr, vt->allocdata);
|
H A D | vterm_internal.h | 129 void *allocdata; member in struct:VTerm
|
/external/libvterm/include/ |
H A D | vterm.h | 118 void *(*malloc)(size_t size, void *allocdata); 119 void (*free)(void *ptr, void *allocdata); 123 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata);
|
Completed in 98 milliseconds