| 19 | cmark = CDLL(libname) |
| 20 | |
| 21 | class cmark_mem(Structure): |
| 22 | _fields_ = [("calloc", c_void_p), |
| 23 | ("realloc", c_void_p), |
| 24 | ("free", CFUNCTYPE(None, c_void_p))] |
| 25 | |
| 26 | get_alloc = cmark.cmark_get_default_mem_allocator |
| 27 | get_alloc.restype = POINTER(cmark_mem) |
nothing calls this directly
no outgoing calls
no test coverage detected