Taaitaaiger / jlrs

Julia bindings for Rust
MIT License
408 stars 21 forks source link

call_me example in Readme #116

Closed era127 closed 8 months ago

era127 commented 8 months ago

I was trying to run the simple call_me example in the readme.md for calling rust from Julia. I think the type of 'arg' should be Bool instead of bool.

fn call_me(arg: bool) -> isize;
Taaitaaiger commented 8 months ago

You're right. I'm not sure if it's better to replace bool with Bool, or to use e.g. u8 to sidestep the issue entirely. What do you think?

era127 commented 8 months ago

I proposed the change with Bool, but feel free to modify it to what you feel is best.