Vuo 2.4.4
Loading...
Searching...
No Matches
VuoList_VuoInteger.h
Go to the documentation of this file.
1
10#ifndef VuoList_VuoInteger_DEFINED
11#define VuoList_VuoInteger_DEFINED
12
13#ifdef __cplusplus
14extern "C"
15{
16#endif
17
29typedef const struct { void *l; } * VuoList_VuoInteger;
30
31#ifdef VuoInteger_SUPPORTS_COMPARISON
32#define VuoList_VuoInteger_SUPPORTS_COMPARISON
33#endif
34#ifdef VuoInteger_OVERRIDES_INTERPROCESS_SERIALIZATION
35#define VuoList_VuoInteger_OVERRIDES_INTERPROCESS_SERIALIZATION
36#endif
37
42
48VuoList_VuoInteger VuoListCreateWithCount_VuoInteger(const unsigned long count, const VuoInteger value);
49
55VuoList_VuoInteger VuoListCreateWithValueArray_VuoInteger(const VuoInteger *values, const unsigned long valueCount);
56
61
74VuoInteger VuoListGetValue_VuoInteger(const VuoList_VuoInteger list, const unsigned long index);
75
93
102void VuoListForeach_VuoInteger(const VuoList_VuoInteger list, bool (^function)(const VuoInteger value));
103
115void VuoListSetValue_VuoInteger(const VuoList_VuoInteger list, const VuoInteger value, const unsigned long index, bool expandListIfNeeded);
116
125void VuoListInsertValue_VuoInteger(const VuoList_VuoInteger list, const VuoInteger value, const unsigned long index);
126
131
136
140void VuoListExchangeValues_VuoInteger(VuoList_VuoInteger list, const unsigned long indexA, const unsigned long indexB);
141
142#ifdef VuoInteger_SUPPORTS_COMPARISON
146void VuoListSort_VuoInteger(VuoList_VuoInteger list);
147
154bool VuoList_VuoInteger_areEqual(const VuoList_VuoInteger a, const VuoList_VuoInteger b);
155
160bool VuoList_VuoInteger_isLessThan(const VuoList_VuoInteger a, const VuoList_VuoInteger b);
161#endif
162
168void VuoListShuffle_VuoInteger(VuoList_VuoInteger list, const double chaos);
169
174
180VuoList_VuoInteger VuoListSubset_VuoInteger(VuoList_VuoInteger list, const signed long startIndex, const unsigned long itemCount);
181
182#ifdef VuoInteger_SUPPORTS_COMPARISON
190VuoList_VuoInteger VuoListRemoveDuplicates_VuoInteger(VuoList_VuoInteger list);
191#endif
192
197
202
207
215void VuoListRemoveValue_VuoInteger(VuoList_VuoInteger list, const unsigned long index);
216
221
230
234struct json_object * VuoList_VuoInteger_getJson(const VuoList_VuoInteger list);
235
236#ifdef VuoInteger_OVERRIDES_INTERPROCESS_SERIALIZATION
242struct json_object * VuoList_VuoInteger_getInterprocessJson(const VuoList_VuoInteger list);
243#endif
244
249
254
259
261
266
271#ifdef __cplusplus
272}
273#endif
274
275#endif