修改下注释

This commit is contained in:
建峰 2024-07-03 14:41:41 +08:00
parent f58873baaa
commit 7c1c811ea1
2 changed files with 22 additions and 21 deletions

View File

@ -27,8 +27,8 @@ struct _deque
uint32_t _obj_size; // 元素大小 uint32_t _obj_size; // 元素大小
uint32_t _size; // 栈大小 uint32_t _size; // 栈大小
uint32_t _capacity; // ×ÜÈÝÁ¿ // uint32_t _capacity; // ×ÜÈÝÁ¿
uint32_t _ratio; // À©Õ¹±ÈÂÊ // uint32_t _ratio; // À©Õ¹±ÈÂÊ
// kernel // kernel
bool (*push_back)(struct _deque* self, void* obj); bool (*push_back)(struct _deque* self, void* obj);

View File

@ -202,6 +202,7 @@ bool deque_insert(struct _deque* self, int index, void* obj)
{ {
return true; return true;
} }
bool deque_erase(struct _deque* self, int index, void* obj) bool deque_erase(struct _deque* self, int index, void* obj)
{ {
return true; return true;