bda1ec4d0a
Rename ExternTxReport and ExternTxReportList to distinguish between TxReport from transact and the results of a transaction observer firing. Move to use c_longlong instead of i64 and time_t as Android and iOS provide different sizes. Use to_string instead of description for errors as they are more descriptive. Pass UUID values as bytes rather than strings Remove unused FFI functions (functionality has been removed) Handle optional results better - return null if optional is None Return boolean as integer value rather than bool as Swift can't handle them. When returning values from an iterator, make sure we don't release the value at the end of the Rust function leaving a dangling pointer.
14 lines
229 B
TOML
14 lines
229 B
TOML
[package]
|
|
name = "mentat_ffi"
|
|
version = "0.0.1"
|
|
authors = ["Emily Toop <etoop@mozilla.com>"]
|
|
|
|
[lib]
|
|
name = "mentat_ffi"
|
|
crate-type = ["lib", "staticlib", "cdylib"]
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
|
|
[dependencies.mentat]
|
|
path = "../"
|