dnn/queue: add error check and cleanup
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
This commit is contained in:
parent
97f520b700
commit
6b0cfa8399
5 changed files with 50 additions and 18 deletions
|
@ -32,8 +32,8 @@ size_t ff_queue_size(FFQueue *q);
|
|||
void *ff_queue_peek_front(FFQueue *q);
|
||||
void *ff_queue_peek_back(FFQueue *q);
|
||||
|
||||
void ff_queue_push_front(FFQueue *q, void *v);
|
||||
void ff_queue_push_back(FFQueue *q, void *v);
|
||||
int ff_queue_push_front(FFQueue *q, void *v);
|
||||
int ff_queue_push_back(FFQueue *q, void *v);
|
||||
|
||||
void *ff_queue_pop_front(FFQueue *q);
|
||||
void *ff_queue_pop_back(FFQueue *q);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue