wll_sys/
lib.rs

1//! `wll-sys` is a low-level bindings for Wolfram LibraryLink.
2//! Typically doesn’t need to be used directly.
3//!
4//! It is automatically generated by [bindgen](https://crates.io/crates/bindgen).
5//!
6//! **see also**: [Wolfram LibraryLink User Guide], [LibraryLink Reference].
7//!
8//! [Wolfram LibraryLink User Guide]: http://reference.wolfram.com/language/LibraryLink/tutorial/Overview.html
9//! [LibraryLink Reference]: http://reference.wolfram.com/language/LibraryLink/tutorial/Reference.html
10
11#![allow(non_upper_case_globals)]
12#![allow(non_camel_case_types)]
13#![allow(non_snake_case)]
14#![allow(clippy::all)]
15
16mod bindings {
17    include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
18}
19
20pub use bindings::*;
21
22pub const True: mbool = bindings::True as mbool;
23pub const False: mbool = bindings::False as mbool;
24pub const WolframLibraryVersion: mint = bindings::WolframLibraryVersion as mint;
25pub const LIBRARY_NO_ERROR: errcode_t = bindings::LIBRARY_NO_ERROR as errcode_t;
26pub const LIBRARY_TYPE_ERROR: errcode_t = bindings::LIBRARY_TYPE_ERROR as errcode_t;
27pub const LIBRARY_RANK_ERROR: errcode_t = bindings::LIBRARY_RANK_ERROR as errcode_t;
28pub const LIBRARY_DIMENSION_ERROR: errcode_t = bindings::LIBRARY_DIMENSION_ERROR as errcode_t;
29pub const LIBRARY_NUMERICAL_ERROR: errcode_t = bindings::LIBRARY_NUMERICAL_ERROR as errcode_t;
30pub const LIBRARY_MEMORY_ERROR: errcode_t = bindings::LIBRARY_MEMORY_ERROR as errcode_t;
31pub const LIBRARY_FUNCTION_ERROR: errcode_t = bindings::LIBRARY_FUNCTION_ERROR as errcode_t;
32pub const LIBRARY_VERSION_ERROR: errcode_t = bindings::LIBRARY_VERSION_ERROR as errcode_t;