pub unsafe extern "C" fn convertSegmentedPagesToPS(
    pagedir: *const i8,
    pagestr: *const i8,
    page_numpre: i32,
    maskdir: *const i8,
    maskstr: *const i8,
    mask_numpre: i32,
    numpost: i32,
    maxnum: i32,
    textscale: f32,
    imagescale: f32,
    threshold: i32,
    fileout: *const i8
) -> i32