Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Sep 16, 2024
1 parent 1c41fa7 commit 0ed8260
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn main() {
cbindgen::Builder::new()
.with_config({
let mut config = cbindgen::Config::default();

config.language = cbindgen::Language::JavaJna;
config.braces = cbindgen::Braces::SameLine;
config.style = cbindgen::Style::Both;
Expand Down
16 changes: 8 additions & 8 deletions dojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ public FieldElement(Pointer p) {
super(p);
}

public byte[] data;
public byte[] data = new byte[32];

}

Expand All @@ -377,7 +377,7 @@ public FieldElementByReference(Pointer p) {
super(p);
}

public byte[] data;
public byte[] data = new byte[32];

}

Expand Down Expand Up @@ -572,13 +572,13 @@ public Primitive(Pointer p) {
public short i16;
public int i32;
public long i64;
public byte[] i128;
public byte[] i128; = new byte[16];
public byte u8;
public short u16;
public int u32;
public long u64;
public byte[] u128;
public long[] u256;
public byte[] u128; = new byte[16];
public long[] u256; = new long[4];
public int usize;
public _Boolean bool;
public FieldElement felt252;
Expand Down Expand Up @@ -618,13 +618,13 @@ public PrimitiveByReference(Pointer p) {
public short i16;
public int i32;
public long i64;
public byte[] i128;
public byte[] i128; = new byte[16];
public byte u8;
public short u16;
public int u32;
public long u64;
public byte[] u128;
public long[] u256;
public byte[] u128; = new byte[16];
public long[] u256; = new long[4];
public int usize;
public _Boolean bool;
public FieldElement felt252;
Expand Down

0 comments on commit 0ed8260

Please sign in to comment.