pub unsafe extern "C" fn ptaWriteStream(
    fp: *mut FILE,
    pta: *mut PTA,
    type_: l_int32
) -> l_ok