pub unsafe extern "C" fn dwfl_thread_getframes(
    thread: *mut Dwfl_Thread,
    callback: Option<unsafe extern "C" fn(state: *mut Dwfl_Frame, arg: *mut c_void) -> c_int>,
    arg: *mut c_void
) -> c_int