Function hashmap_len

Source
pub extern "C" fn hashmap_len(map_ptr: *mut c_void) -> i64
Expand description

获取HashMap中键值对的数量

§参数

  • map_ptr - HashMap的指针

§返回值

返回HashMap中键值对的数量,如果指针无效返回0