Vuo  2.3.2
VuoList_VuoInteger.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #ifdef __cplusplus
13 extern "C"
14 {
15 #endif
16 
25 // This header is generated by vuo/type/list/generateVariants.sh.
26 
27 #if defined(DOXYGEN) || !defined(VuoList_VuoInteger_TYPE_DEFINED)
29 
32 typedef const struct VuoList_VuoInteger_struct { void *l; } * VuoList_VuoInteger;
34 #endif
35 
40 
46 VuoList_VuoInteger VuoListCreateWithCount_VuoInteger(const unsigned long count, const VuoInteger value);
47 
52 
61 VuoInteger VuoListGetValue_VuoInteger(const VuoList_VuoInteger list, const unsigned long index);
62 
80 
89 void VuoListForeach_VuoInteger(const VuoList_VuoInteger list, bool (^function)(const VuoInteger value));
90 
101 void VuoListSetValue_VuoInteger(const VuoList_VuoInteger list, const VuoInteger value, const unsigned long index, bool expandListIfNeeded);
102 
109 void VuoListInsertValue_VuoInteger(const VuoList_VuoInteger list, const VuoInteger value, const unsigned long index);
110 
115 
120 
124 void VuoListExchangeValues_VuoInteger(VuoList_VuoInteger list, const unsigned long indexA, const unsigned long indexB);
125 
126 #ifdef VuoInteger_SUPPORTS_COMPARISON
130 void VuoListSort_VuoInteger(VuoList_VuoInteger list);
131 
137 bool VuoList_VuoInteger_areEqual(const VuoList_VuoInteger a, const VuoList_VuoInteger b);
138 
142 bool VuoList_VuoInteger_isLessThan(const VuoList_VuoInteger a, const VuoList_VuoInteger b);
143 #endif
144 
150 void VuoListShuffle_VuoInteger(VuoList_VuoInteger list, const double chaos);
151 
156 
162 VuoList_VuoInteger VuoListSubset_VuoInteger(VuoList_VuoInteger list, const signed long startIndex, const unsigned long itemCount);
163 
164 #ifdef VuoInteger_SUPPORTS_COMPARISON
172 VuoList_VuoInteger VuoListRemoveDuplicates_VuoInteger(VuoList_VuoInteger list);
173 #endif
174 
179 
184 
189 
195 void VuoListRemoveValue_VuoInteger(VuoList_VuoInteger list, const unsigned long index);
196 
200 unsigned long VuoListGetCount_VuoInteger(const VuoList_VuoInteger list);
201 
210 
215 
216 #ifdef VuoInteger_REQUIRES_INTERPROCESS_JSON
222 struct json_object * VuoList_VuoInteger_getInterprocessJson(const VuoList_VuoInteger value);
223 #endif
224 
229 
231 
237 
242 #ifdef __cplusplus
243 }
244 #endif