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
pub(crate) mod list;
pub(crate) mod maybe_loc;
pub(crate) mod maybe_ptr;
pub(crate) mod maybe_string_ptr;
pub(crate) mod ptr;
pub(crate) mod shared_byte_list;
pub(crate) mod string_ptr;

pub(crate) mod helpers {
    pub(crate) use super::{
        list::TakeFirst as ListTakeFirst,
        maybe_ptr::{MaybePtrNone, MaybePtrSome},
        maybe_string_ptr::{MaybeStringPtrNone, MaybeStringPtrSome},
        ptr::UnPtr,
    };
}

#[cfg(feature = "compile-with-external-structures")]
pub(crate) mod get_drop_fn;
#[cfg(feature = "compile-with-external-structures")]
pub(crate) mod size;

#[cfg(feature = "compile-with-external-structures")]
pub use list::external::List as ExternalList;
#[cfg(feature = "compile-with-external-structures")]
pub use maybe_loc::external::MaybeLoc as ExternalMaybeLoc;
#[cfg(feature = "compile-with-external-structures")]
pub use maybe_ptr::external::MaybePtr as ExternalMaybePtr;
#[cfg(feature = "compile-with-external-structures")]
pub use maybe_string_ptr::external::MaybeStringPtr as ExternalMaybeStringPtr;
#[cfg(feature = "compile-with-external-structures")]
pub use ptr::external::Ptr as ExternalPtr;
#[cfg(feature = "compile-with-external-structures")]
pub use shared_byte_list::external::SharedByteList as ExternalSharedByteList;
#[cfg(feature = "compile-with-external-structures")]
pub use string_ptr::external::StringPtr as ExternalStringPtr;