MCPcopy Create free account
hub / github.com/commonmark/cmark / cmark_mem

Class cmark_mem

wrappers/wrapper.py:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19cmark = CDLL(libname)
20
21class cmark_mem(Structure):
22 _fields_ = [("calloc", c_void_p),
23 ("realloc", c_void_p),
24 ("free", CFUNCTYPE(None, c_void_p))]
25
26get_alloc = cmark.cmark_get_default_mem_allocator
27get_alloc.restype = POINTER(cmark_mem)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected