1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/// Module with List container
pub mod list;

/// Module with MaybePtr container
pub mod maybe_ptr;

/// Module with Ptr container
pub mod ptr;

/// Module with LocPtr container
pub mod loc_ptr;

/// Module with MaybeLocPtr container
pub mod maybe_loc_ptr;

/// Module with StringPtr container
pub mod string_ptr;

/// Module with MaybeStringPtr container
pub mod maybe_string_ptr;

/// Module with SharedList container
pub mod shared_list;

#[cfg(not(feature = "c-structures"))]
pub use list::rust::List;
#[cfg(not(feature = "c-structures"))]
pub use loc_ptr::rust::LocPtr;
#[cfg(not(feature = "c-structures"))]
pub use maybe_loc_ptr::rust::MaybeLocPtr;
#[cfg(not(feature = "c-structures"))]
pub use maybe_ptr::rust::MaybePtr;
#[cfg(not(feature = "c-structures"))]
pub use maybe_string_ptr::rust::MaybeStringPtr;
#[cfg(not(feature = "c-structures"))]
pub use ptr::rust::Ptr;
#[cfg(not(feature = "c-structures"))]
pub use shared_list::rust::SharedList;
#[cfg(not(feature = "c-structures"))]
pub use string_ptr::rust::StringPtr;

#[cfg(feature = "c-structures")]
pub use list::c::List;
#[cfg(feature = "c-structures")]
pub use loc_ptr::c::LocPtr;
#[cfg(feature = "c-structures")]
pub use maybe_loc_ptr::c::MaybeLocPtr;
#[cfg(feature = "c-structures")]
pub use maybe_ptr::c::MaybePtr;
#[cfg(feature = "c-structures")]
pub use maybe_string_ptr::c::MaybeStringPtr;
#[cfg(feature = "c-structures")]
pub use ptr::c::Ptr;
#[cfg(feature = "c-structures")]
pub use shared_list::c::SharedList;
#[cfg(feature = "c-structures")]
pub use string_ptr::c::StringPtr;