Vuo
2.4.0
build
type
list
VuoList_VuoBlackmagicOutputDevice.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_VuoBlackmagicOutputDevice_TYPE_DEFINED)
29
32
typedef
const
struct
VuoList_VuoBlackmagicOutputDevice_struct
{
void
*l; } *
VuoList_VuoBlackmagicOutputDevice
;
34
#endif
35
39
VuoList_VuoBlackmagicOutputDevice
VuoListCreate_VuoBlackmagicOutputDevice
(
void
);
40
46
VuoList_VuoBlackmagicOutputDevice
VuoListCreateWithCount_VuoBlackmagicOutputDevice
(
const
unsigned
long
count,
const
VuoBlackmagicOutputDevice
value);
47
51
VuoList_VuoBlackmagicOutputDevice
VuoListCopy_VuoBlackmagicOutputDevice
(
const
VuoList_VuoBlackmagicOutputDevice
list);
52
53
#ifndef VUO_LIST_INDEX_TO_C_ARRAY_INDEX
54
#define VUO_LIST_INDEX_TO_C_ARRAY_INDEX
60
static
inline
unsigned
long
VuoListIndexToCArrayIndex
(
long
index,
unsigned
long
listCount) __attribute__((
const
));
61
static
inline
unsigned
long
VuoListIndexToCArrayIndex
(
long
index,
unsigned
long
listCount)
62
{
63
if
(index <= 0)
64
return
0;
65
66
if
(index > listCount)
67
return
listCount - 1;
68
69
return
index - 1;
70
}
71
#endif
72
81
VuoBlackmagicOutputDevice
VuoListGetValue_VuoBlackmagicOutputDevice
(
const
VuoList_VuoBlackmagicOutputDevice
list,
const
unsigned
long
index);
82
99
VuoBlackmagicOutputDevice
*
VuoListGetData_VuoBlackmagicOutputDevice
(
const
VuoList_VuoBlackmagicOutputDevice
list);
100
109
void
VuoListForeach_VuoBlackmagicOutputDevice
(
const
VuoList_VuoBlackmagicOutputDevice
list,
bool
(^
function
)(
const
VuoBlackmagicOutputDevice
value));
110
121
void
VuoListSetValue_VuoBlackmagicOutputDevice
(
const
VuoList_VuoBlackmagicOutputDevice
list,
const
VuoBlackmagicOutputDevice
value,
const
unsigned
long
index,
bool
expandListIfNeeded);
122
129
void
VuoListInsertValue_VuoBlackmagicOutputDevice
(
const
VuoList_VuoBlackmagicOutputDevice
list,
const
VuoBlackmagicOutputDevice
value,
const
unsigned
long
index);
130
134
void
VuoListPrependValue_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list,
const
VuoBlackmagicOutputDevice
value);
135
139
void
VuoListAppendValue_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list,
const
VuoBlackmagicOutputDevice
value);
140
144
void
VuoListExchangeValues_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list,
const
unsigned
long
indexA,
const
unsigned
long
indexB);
145
146
#ifdef VuoBlackmagicOutputDevice_SUPPORTS_COMPARISON
150
void
VuoListSort_VuoBlackmagicOutputDevice(
VuoList_VuoBlackmagicOutputDevice
list);
151
157
bool
VuoList_VuoBlackmagicOutputDevice_areEqual(
const
VuoList_VuoBlackmagicOutputDevice
a,
const
VuoList_VuoBlackmagicOutputDevice
b);
158
162
bool
VuoList_VuoBlackmagicOutputDevice_isLessThan(
const
VuoList_VuoBlackmagicOutputDevice
a,
const
VuoList_VuoBlackmagicOutputDevice
b);
163
#endif
164
170
void
VuoListShuffle_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list,
const
double
chaos);
171
175
void
VuoListReverse_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list);
176
182
VuoList_VuoBlackmagicOutputDevice
VuoListSubset_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list,
const
signed
long
startIndex,
const
unsigned
long
itemCount);
183
184
#ifdef VuoBlackmagicOutputDevice_SUPPORTS_COMPARISON
192
VuoList_VuoBlackmagicOutputDevice
VuoListRemoveDuplicates_VuoBlackmagicOutputDevice(
VuoList_VuoBlackmagicOutputDevice
list);
193
#endif
194
198
void
VuoListRemoveFirstValue_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list);
199
203
void
VuoListRemoveLastValue_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list);
204
208
void
VuoListRemoveAll_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list);
209
215
void
VuoListRemoveValue_VuoBlackmagicOutputDevice
(
VuoList_VuoBlackmagicOutputDevice
list,
const
unsigned
long
index);
216
220
unsigned
long
VuoListGetCount_VuoBlackmagicOutputDevice
(
const
VuoList_VuoBlackmagicOutputDevice
list);
221
229
VuoList_VuoBlackmagicOutputDevice
VuoList_VuoBlackmagicOutputDevice_makeFromJson
(
struct
json_object
* js);
230
234
struct
json_object
*
VuoList_VuoBlackmagicOutputDevice_getJson
(
const
VuoList_VuoBlackmagicOutputDevice
value);
235
236
#ifdef VuoBlackmagicOutputDevice_REQUIRES_INTERPROCESS_JSON
242
struct
json_object
* VuoList_VuoBlackmagicOutputDevice_getInterprocessJson(
const
VuoList_VuoBlackmagicOutputDevice
value);
243
#endif
244
248
char
*
VuoList_VuoBlackmagicOutputDevice_getSummary
(
const
VuoList_VuoBlackmagicOutputDevice
value);
249
251
254
VuoList_VuoBlackmagicOutputDevice
VuoList_VuoBlackmagicOutputDevice_makeFromString
(
const
char
*str);
255
char
*
VuoList_VuoBlackmagicOutputDevice_getString
(
const
VuoList_VuoBlackmagicOutputDevice
value);
257
262
#ifdef __cplusplus
263
}
264
#endif
Generated on Wed Nov 24 2021 15:28:09 for Vuo by
1.9.2