[xbuild] Throw ArgumentNullException if target name is null
[mono.git] / mono / metadata / mono-cq.h
1 #ifndef _MONO_CQ_H
2 #define _MONO_CQ_H
3
4 #include <config.h>
5 #include <glib.h>
6 #include <mono/metadata/object.h>
7 #include <mono/metadata/gc-internal.h>
8
9 G_BEGIN_DECLS
10
11 typedef struct _MonoCQ MonoCQ;
12
13 MonoCQ *mono_cq_create (void) MONO_INTERNAL;
14 void mono_cq_destroy (MonoCQ *cq) MONO_INTERNAL;
15 gint mono_cq_count (MonoCQ *cq) MONO_INTERNAL;
16 void mono_cq_enqueue (MonoCQ *cq, MonoObject *obj) MONO_INTERNAL;
17 gboolean mono_cq_dequeue (MonoCQ *cq, MonoObject **result) MONO_INTERNAL;
18
19 G_END_DECLS
20
21 #endif
22