Skip to content

Commit

Permalink
Fix missing boolean conversion in JNI.
Browse files Browse the repository at this point in the history
  • Loading branch information
emgre committed Jun 16, 2021
1 parent 6de10f8 commit 4f30d40
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ci-script/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ci-script"
version = "0.1.1"
version = "0.1.2"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion generators/c-oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "c-oo-bindgen"
version = "0.1.1"
version = "0.1.2"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion generators/dotnet-oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dotnet-oo-bindgen"
version = "0.1.1"
version = "0.1.2"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion generators/java-oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "java-oo-bindgen"
version = "0.1.1"
version = "0.1.2"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion generators/java-oo-bindgen/src/rust/conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ impl TypeConverter for BooleanConverter {
}

fn convert_from_rust(&self, f: &mut dyn Printer, from: &str, to: &str) -> FormattingResult<()> {
f.writeln(&format!("{}{}", to, from))
f.writeln(&format!("{}{} as u8", to, from))
}
}

Expand Down
2 changes: 1 addition & 1 deletion generators/rust-oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-oo-bindgen"
version = "0.1.1"
version = "0.1.2"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oo-bindgen"
version = "0.1.1"
version = "0.1.2"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2018"

Expand Down

0 comments on commit 4f30d40

Please sign in to comment.