(attr: &liq_attr)
| 444 | #[no_mangle] |
| 445 | #[inline(never)] |
| 446 | pub extern "C" fn liq_attr_copy(attr: &liq_attr) -> Option<Box<liq_attr>> { |
| 447 | if bad_object!(attr, LIQ_ATTR_MAGIC) { return None; } |
| 448 | Some(Box::new(liq_attr { |
| 449 | magic_header: LIQ_ATTR_MAGIC, |
| 450 | inner: attr.inner.clone(), |
| 451 | c_api_free: attr.c_api_free, |
| 452 | })) |
| 453 | } |
| 454 | |
| 455 | #[no_mangle] |
| 456 | #[inline(never)] |
no test coverage detected