Skip to content

Commit

Permalink
add conversion from int to uint for enum
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Jul 5, 2024
1 parent fc7e9cf commit 937dcb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/target
expanded.rs
stealth_address_kit.h
stealth_address_kit.nim
stealth_address_kit.nim*
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ generate_c_bindings:
generate_nim_bindings:
@cargo expand --all-features -p stealth_address_kit > expanded.rs
@nbindgen --output stealth_address_kit.nim expanded.rs
@sed -i.bak "s/= int/= uint8/g" 'stealth_address_kit.nim'

0 comments on commit 937dcb5

Please sign in to comment.