FLArray is a "subclass" of FLValue, representing values that are arrays. More...
FLArray is a "subclass" of FLValue, representing values that are arrays.
It's always OK to pass an FLArray to a function parameter expecting an FLValue, even though the compiler makes you use an explicit type-cast. It's safe to type-cast the other direction, from FLValue to FLArray, only if you already know that the value is an array, e.g. by having called FLValue_GetType on it. But it's safer to call FLValue_AsArray instead, since it will return NULL if the value isn't an array.
◆ FLArray_AsMutable()If the array is mutable, returns it cast to FLMutableArray, else NULL.
◆ FLArray_Count()Returns the number of items in an array, or 0 if the pointer is NULL.
◆ FLArray_Get()Returns an value at an array index, or NULL if the index is out of range.
◆ FLArray_IsEmpty()Returns true if an array is empty (or NULL).
Depending on the array's representation, this can be faster than FLArray_Count(a) == 0
Initializes a FLArrayIterator struct to iterate over an array.
Call FLArrayIteratorGetValue to get the first item, then as long as the item is not NULL, call FLArrayIterator_Next to advance.
◆ FLArrayIterator_GetCount()Returns the number of items remaining to be iterated, including the current one.
◆ FLArrayIterator_GetValue()Returns the current value being iterated over, or NULL at the end.
◆ FLArrayIterator_GetValueAt()Returns a value in the array at the given offset from the current value.
◆ FLArrayIterator_Next()Advances the iterator to the next value.
A constant empty array value.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4