Blenlib: Add C++ guard for Queue
This commit is contained in:
parent
581a5ee0cc
commit
122a0afa96
|
@ -24,6 +24,10 @@
|
|||
* \ingroup bli
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _GSQueue GSQueue;
|
||||
|
||||
GSQueue *BLI_gsqueue_new(const size_t elem_size);
|
||||
|
@ -33,4 +37,8 @@ void BLI_gsqueue_pop(GSQueue *gq, void *r_item);
|
|||
void BLI_gsqueue_push(GSQueue *gq, const void *item);
|
||||
void BLI_gsqueue_free(GSQueue *gq);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __BLI_GSQUEUE_H__ */
|
||||
|
|
Loading…
Reference in New Issue