Working python interface

This commit is contained in:
2025-08-24 23:30:30 +02:00
parent 0b1450315a
commit 1c5e90068c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,3 +1,4 @@
#[derive(Debug)]
pub enum FluxValue { pub enum FluxValue {
Int(i64), Int(i64),
Float(f64), Float(f64),
@@ -26,4 +27,3 @@ pub mod runtime;
pub mod prelude { pub mod prelude {
pub use crate::{FluxModule, Serialize, Deserialize}; pub use crate::{FluxModule, Serialize, Deserialize};
} }
+1 -1
View File
@@ -4,5 +4,5 @@ fn main() {
let bro = PythonModule("bro.py".to_string()); let bro = PythonModule("bro.py".to_string());
bro.init(); bro.init();
bro.call("hello", vec![]); println!("{:?}", bro.call("hello", vec![]));
} }