(msg: *mut dc_msg_t)
| 3519 | |
| 3520 | #[no_mangle] |
| 3521 | pub 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] |
| 3531 | pub unsafe extern "C" fn dc_msg_get_height(msg: *mut dc_msg_t) -> libc::c_int { |