Returns pair of byte pointer and size value for use as return parameters
    in a LIBRARY call

def prepare_vec_result(pointer_type=ctypes.c_uint8):
    """Returns pair of byte pointer and size value for use as return parameters
    in a LIBRARY call
    """
    return (
        ctypes.POINTER(pointer_type)(),
        ctypes.c_size_t(0),
        ctypes.c_size_t(0),
    )