Function tari_wallet_ffi::wallet_clear_value [−][src]
#[no_mangle]pub unsafe extern "C" fn wallet_clear_value(
wallet: *mut TariWallet,
key: *const c_char,
error_out: *mut c_int
) -> bool
Clears a Value for the provided Key Value in the Wallet storage used for Client Key Value store
Arguments
wallet
- The TariWallet pointer.
key
- The pointer to a Utf8 string representing the Key
error_out
- Pointer to an int which will be modified to an error code should one occur, may not be null. Functions
as an out parameter.
Returns
bool
- Return a boolean value indicating the operation's success or failure. The error_ptr will hold the error
code if there was a failure
Safety
None