def METHOD_NAME(data, size, destructor, hint):
    """
    Create a new chunk from memory. Take ownership of the memory and calling the destructor
    on destroy.
    """
    return utils.lib.zchunk_frommem(data, size, destructor, hint._p)