Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for booleans #142

Open
nearest-river opened this issue Jan 1, 2024 · 0 comments
Open

Support for booleans #142

nearest-river opened this issue Jan 1, 2024 · 0 comments

Comments

@nearest-river
Copy link

deno_bindgen doesn't allow bool for some reason..
we need to use u8 as return-type or parameters and then cast them, which is pretty annoying..
adding bool to deno_bindgen's native-type would be much better...

#[deno_bindgen]
pub fn is_fun()-> bool {
  true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant