MCPcopy Create free account
hub / github.com/chatmail/core / dc_msg_get_width

Function dc_msg_get_width

deltachat-ffi/src/lib.rs:3521–3528  ·  view source on GitHub ↗
(msg: *mut dc_msg_t)

Source from the content-addressed store, hash-verified

3519
3520#[no_mangle]
3521pub unsafe extern "C" fn dc_msg_get_width(msg: *mut dc_msg_t) -> libc::c_int {
3522 if msg.is_null() {
3523 eprintln!("ignoring careless call to dc_msg_get_width()");
3524 return 0;
3525 }
3526 let ffi_msg = &*msg;
3527 ffi_msg.message.get_width()
3528}
3529
3530#[no_mangle]
3531pub unsafe extern "C" fn dc_msg_get_height(msg: *mut dc_msg_t) -> libc::c_int {

Callers

nothing calls this directly

Calls 1

get_widthMethod · 0.80

Tested by

no test coverage detected