Descriptor.findDescriptor

Finds the first descriptor of type tag in the array.

Note: To look for descriptors that can be present more than once in an array of descriptors, iterate the GArray manually.

class Descriptor
static
findDescriptor

Parameters

descriptors PtrArray
tag ubyte

the tag to look for

Return Value

the first descriptor matchin tag, else NULL.