diff options
Diffstat (limited to 'source/blender/blenlib/BLI_gsqueue.h')
-rw-r--r-- | source/blender/blenlib/BLI_gsqueue.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_gsqueue.h b/source/blender/blenlib/BLI_gsqueue.h index 16157ebe0a8..29b15bcf55a 100644 --- a/source/blender/blenlib/BLI_gsqueue.h +++ b/source/blender/blenlib/BLI_gsqueue.h @@ -49,6 +49,11 @@ GSQueue* BLI_gsqueue_new (int elem_size); int BLI_gsqueue_is_empty(GSQueue *gq); /** + * Query number elements in the queue + */ +int BLI_gsqueue_size(GSQueue *gq); + + /** * Access the item at the head of the queue * without removing it. * |