Skip to content

Commit

Permalink
fix z_bytes_map_check to fit new layout
Browse files Browse the repository at this point in the history
  • Loading branch information
p-avital committed Nov 15, 2023
1 parent 0f98378 commit 77c00cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attachements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ pub extern "C" fn z_bytes_map_null() -> z_owned_bytes_map_t {
/// Returns `true` if the map is not in its gravestone state
#[no_mangle]
pub extern "C" fn z_bytes_map_check(this: &z_owned_bytes_map_t) -> bool {
this._0 != [0; 2] && this._1 != [0; 4]
this.is_some()
}
/// Destroys the map, resetting `this` to its gravestone value.
///
Expand Down

0 comments on commit 77c00cb

Please sign in to comment.