Working python interface
This commit is contained in:
+1
-1
@@ -1,3 +1,4 @@
|
||||
#[derive(Debug)]
|
||||
pub enum FluxValue {
|
||||
Int(i64),
|
||||
Float(f64),
|
||||
@@ -26,4 +27,3 @@ pub mod runtime;
|
||||
pub mod prelude {
|
||||
pub use crate::{FluxModule, Serialize, Deserialize};
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -4,5 +4,5 @@ fn main() {
|
||||
let bro = PythonModule("bro.py".to_string());
|
||||
bro.init();
|
||||
|
||||
bro.call("hello", vec![]);
|
||||
println!("{:?}", bro.call("hello", vec![]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user