mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 22:46:29 +03:00
Implement dc_array_t::is_empty()
This commit is contained in:
@@ -38,6 +38,10 @@ impl dc_array_t {
|
||||
pub fn add_id(&mut self, item: uint32_t) {
|
||||
self.add_uint(item as uintptr_t);
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.array.is_empty()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user