From fb1778cb1c853f7fa48afffd256612eac6f387c8 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 27 Jul 2024 17:43:23 +1000 Subject: prelude idea --- bindgen/rust/src/lib.rs | 2 ++ bindgen/rust/src/prelude.rs | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 bindgen/rust/src/prelude.rs 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 -- cgit v1.2.3-70-g09d2