diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-27 17:43:23 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-27 17:43:23 +1000 |
commit | fb1778cb1c853f7fa48afffd256612eac6f387c8 (patch) | |
tree | 43becb3072e474fa3a2d7d98bdd37fc26261057f | |
parent | baa4f15774e2eb179a9b6ad6f3b781e0c3e85af3 (diff) |
prelude idea
-rw-r--r-- | bindgen/rust/src/lib.rs | 2 | ||||
-rw-r--r-- | bindgen/rust/src/prelude.rs | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bindgen/rust/src/lib.rs b/bindgen/rust/src/lib.rs index f3382a2..fc8b921 100644 --- a/bindgen/rust/src/lib.rs +++ b/bindgen/rust/src/lib.rs @@ -3,6 +3,8 @@ #![warn(missing_docs)] #![cfg_attr(docsrs, feature(doc_cfg))] +pub mod prelude; + use std::{ fs::{self, File}, io::Write, diff --git a/bindgen/rust/src/prelude.rs b/bindgen/rust/src/prelude.rs new file mode 100644 index 0000000..480986a --- /dev/null +++ b/bindgen/rust/src/prelude.rs @@ -0,0 +1,4 @@ +pub use celeritas_sys::Vec2; +pub use celeritas_sys::Vec3; +pub use celeritas_sys::Vec4; +pub use celeritas_sys::Mat4;
\ No newline at end of file |