Vuo 2.4.2
Loading...
Searching...
No Matches
VuoList_VuoDurationType.h
Go to the documentation of this file.
1
10#pragma once
11
12#ifdef __cplusplus
13extern "C"
14{
15#endif
16
25// This header is generated by vuo/type/list/generateVariants.sh.
26
27#if defined(DOXYGEN) || !defined(VuoList_VuoDurationType_TYPE_DEFINED)
29
32typedef const struct VuoList_VuoDurationType_struct { void *l; } * VuoList_VuoDurationType;
34#endif
35
40
47
56
61
62#ifndef VUO_LIST_INDEX_TO_C_ARRAY_INDEX
63#define VUO_LIST_INDEX_TO_C_ARRAY_INDEX
69static inline unsigned long VuoListIndexToCArrayIndex(long index, unsigned long listCount) __attribute__((const));
70static inline unsigned long VuoListIndexToCArrayIndex(long index, unsigned long listCount)
71{
72 if (index <= 0)
73 return 0;
74
75 if (index > listCount)
76 return listCount - 1;
77
78 return index - 1;
79}
80#endif
81
91
109
118void VuoListForeach_VuoDurationType(const VuoList_VuoDurationType list, bool (^function)(const VuoDurationType value));
119
130void VuoListSetValue_VuoDurationType(const VuoList_VuoDurationType list, const VuoDurationType value, const unsigned long index, bool expandListIfNeeded);
131
138void VuoListInsertValue_VuoDurationType(const VuoList_VuoDurationType list, const VuoDurationType value, const unsigned long index);
139
144
149
153void VuoListExchangeValues_VuoDurationType(VuoList_VuoDurationType list, const unsigned long indexA, const unsigned long indexB);
154
155#ifdef VuoDurationType_SUPPORTS_COMPARISON
159void VuoListSort_VuoDurationType(VuoList_VuoDurationType list);
160
166bool VuoList_VuoDurationType_areEqual(const VuoList_VuoDurationType a, const VuoList_VuoDurationType b);
167
171bool VuoList_VuoDurationType_isLessThan(const VuoList_VuoDurationType a, const VuoList_VuoDurationType b);
172#endif
173
179void VuoListShuffle_VuoDurationType(VuoList_VuoDurationType list, const double chaos);
180
185
191VuoList_VuoDurationType VuoListSubset_VuoDurationType(VuoList_VuoDurationType list, const signed long startIndex, const unsigned long itemCount);
192
193#ifdef VuoDurationType_SUPPORTS_COMPARISON
201VuoList_VuoDurationType VuoListRemoveDuplicates_VuoDurationType(VuoList_VuoDurationType list);
202#endif
203
208
213
218
224void VuoListRemoveValue_VuoDurationType(VuoList_VuoDurationType list, const unsigned long index);
225
230
239
244
245#ifdef VuoDurationType_REQUIRES_INTERPROCESS_JSON
251struct json_object * VuoList_VuoDurationType_getInterprocessJson(const VuoList_VuoDurationType value);
252#endif
253
258
263
268
270
275
280#ifdef __cplusplus
281}
282#endif