1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! A crate to help make working with FFI easier.

extern crate failure;
#[macro_use]
extern crate failure_derive;
extern crate libc;

#[macro_use]
mod nullable;
#[macro_use]
pub mod task;

pub mod error_handling;
pub mod panic;
mod split;

pub use crate::{
    error_handling::{error_message, take_last_error, update_last_error},
    nullable::{NullPointer, Nullable},
    panic::catch_panic,
    split::{split_closure, Split},
    task::Task,
};