Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_gsqueue.h')
-rw-r--r--source/blender/blenlib/BLI_gsqueue.h5
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.
*