1#[cfg(all(any(target_os="freebsd",target_os="linux",target_os="macos"), target_pointer_width = "64"))]
8pub mod unix64;
9#[cfg(all(any(target_os="freebsd",target_os="linux",target_os="macos"), target_pointer_width = "64"))]
10pub use self::unix64::*;
11
12#[cfg(all(any(target_os="freebsd",target_os="linux"), target_pointer_width = "32"))]
13pub mod unix32;
14#[cfg(all(any(target_os="freebsd",target_os="linux"), target_pointer_width = "32"))]
15pub use self::unix32::*;
16
17#[cfg(all(target_os="windows", target_pointer_width = "64"))]
18pub mod win64;
19#[cfg(all(target_os="windows", target_pointer_width = "64"))]
20pub use self::win64::*;
21
22#[cfg(all(target_os="windows", target_pointer_width = "32"))]
23pub mod win32;
24#[cfg(all(target_os="windows", target_pointer_width = "32"))]
25pub use self::win32::*;
26
27
28#[cfg(feature = "engine")]
29pub use self::engine::*;
30
31#[cfg(feature = "engine")]
32pub mod engine {
33 #[link(name = "R")]
34 extern "C" {
35 pub static mut R_CStackLimit: super::uintptr_t;
36 pub static mut R_CStackStart: super::uintptr_t;
37 pub static mut R_SignalHandlers: ::std::os::raw::c_int;
38 pub static mut R_Interactive: super::Rboolean;
39 pub static mut R_Slave: super::Rboolean;
40 pub static mut R_GUIType: *mut ::std::os::raw::c_char;
41 pub static mut R_HistoryFile: *mut ::std::os::raw::c_char;
42 pub static mut R_HistorySize: ::std::os::raw::c_int;
43 pub static mut R_RestoreHistory: ::std::os::raw::c_int;
44 pub static mut R_Home: *mut ::std::os::raw::c_char;
45 pub static mut R_GlobalContext: *mut ::std::os::raw::c_void;
46 pub static mut R_Consolefile: *mut super::FILE;
47 pub static mut R_Outputfile: *mut super::FILE;
48 pub static mut R_timeout_val: ::std::os::raw::c_long;
49 pub static mut R_running_as_main_program: ::std::os::raw::c_int;
50 #[cfg(not(target_os = "windows"))]
51 pub fn get_R_HOME() -> *const ::std::os::raw::c_char;
52 }
53}