Skip to content

Commit 55cf3c7

Browse files
authored
chore: cleanup useless statements in cbindgen.toml (#629)
1 parent ea33cbc commit 55cf3c7

1 file changed

Lines changed: 0 additions & 30 deletions

File tree

key-wallet-ffi/cbindgen.toml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -24,36 +24,6 @@ line_length = 100
2424
documentation = true
2525
documentation_style = "c"
2626

27-
[export]
28-
# Include all items marked with #[no_mangle] and pub extern
29-
include = []
30-
exclude = []
31-
prefix = ""
32-
item_types = ["functions", "enums", "structs", "typedefs", "opaque", "constants"]
33-
34-
# Opaque types with Swift-compatible bodies (unsigned char _private[0] allows Swift to import)
35-
[export.body]
36-
"FFIPrivateKey" = "{ unsigned char _private[0]; }"
37-
"FFIExtendedPrivateKey" = "{ unsigned char _private[0]; }"
38-
"FFIPublicKey" = "{ unsigned char _private[0]; }"
39-
"FFIExtendedPubKey" = "{ unsigned char _private[0]; }"
40-
"FFIWalletManager" = "{ unsigned char _private[0]; }"
41-
"FFIWallet" = "{ unsigned char _private[0]; }"
42-
"FFIAccount" = "{ unsigned char _private[0]; }"
43-
"FFIBLSAccount" = "{ unsigned char _private[0]; }"
44-
"FFIEdDSAAccount" = "{ unsigned char _private[0]; }"
45-
"FFIManagedAccount" = "{ unsigned char _private[0]; }"
46-
"FFIManagedPlatformAccount" = "{ unsigned char _private[0]; }"
47-
"FFIAccountCollection" = "{ unsigned char _private[0]; }"
48-
"FFIManagedAccountCollection" = "{ unsigned char _private[0]; }"
49-
"FFIAddressPool" = "{ unsigned char _private[0]; }"
50-
51-
[export.rename]
52-
# Rename types to match C conventions
53-
"FFIErrorCode" = "FFIErrorCode"
54-
"FFINetwork" = "FFINetwork"
55-
"FFIDerivationPathType" = "FFIDerivationPathType"
56-
5727
[enum]
5828
# Configure enum generation
5929
prefix_with_name = true

0 commit comments

Comments
 (0)