| 24 | #include "array.h" |
| 25 | |
| 26 | CSPTR_PURE size_t array_length(void *ptr) { |
| 27 | s_meta_array *meta = get_smart_ptr_meta(ptr); |
| 28 | return meta ? meta->nmemb : 0; |
| 29 | } |
| 30 | |
| 31 | CSPTR_PURE size_t array_type_size(void *ptr) { |
| 32 | s_meta_array *meta = get_smart_ptr_meta(ptr); |
nothing calls this directly
no test coverage detected