You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two types are typedefs to intptr_t and are used for null-terminated arrays of key-value pairs.
const ur_queue_property_t *pProps, ///< [in][optional] specifies a list of queue properties and their
///< corresponding values.
///< Each property name is immediately followed by the corresponding
///< desired value.
///< The list is terminated with a 0.
///< If a property value is not specified, then its default value will be used.
There doesn't seem to be a way to figure this out in the mako template, so this variable type will probably require a qualifier in desc to distinguish it from other _property_t enum types.
Parsing aside, the same could be achieved with a linked list through pNext, as we do for other things. That would be a bit better from a type safety perspective and consistent with other properties/desc types.
The text was updated successfully, but these errors were encountered:
These two types are typedefs to
intptr_t
and are used for null-terminated arrays of key-value pairs.There doesn't seem to be a way to figure this out in the mako template, so this variable type will probably require a qualifier in
desc
to distinguish it from other_property_t
enum types.Parsing aside, the same could be achieved with a linked list through pNext, as we do for other things. That would be a bit better from a type safety perspective and consistent with other properties/desc types.
The text was updated successfully, but these errors were encountered: