5#ifndef SPA_DEBUG_TYPES_H
6#define SPA_DEBUG_TYPES_H
21#ifndef SPA_API_DEBUG_TYPES
23 #define SPA_API_DEBUG_TYPES SPA_API_IMPL
25 #define SPA_API_DEBUG_TYPES static inline
37 while (info && info->name) {
42 else if (info->type ==
type)
37 while (info && info->name) {
…}
74 while (info && info->name) {
76 if (strcmp(info->name, name) == 0)
87 while (info && info->name) {
90 if (strcmp(info->name, name) == 0)
76 if (strcmp(info->name, name) == 0) {
…}
92 if (info->type != 0 && info->type == (uint32_t)atoi(name))
92 if (info->type != 0 && info->type == (uint32_t)atoi(name)) {
…}
uint32_t int int res
Definition core.h:433
SPA_API_DEBUG_TYPES const struct spa_type_info * spa_debug_type_find_short(const struct spa_type_info *info, const char *name)
Definition types.h:92
SPA_API_DEBUG_TYPES const char * spa_debug_type_find_short_name(const struct spa_type_info *info, uint32_t type)
Definition types.h:68
#define SPA_API_DEBUG_TYPES
Definition types.h:32
SPA_API_DEBUG_TYPES uint32_t spa_debug_type_find_type_short(const struct spa_type_info *info, const char *name)
Definition types.h:106
SPA_API_DEBUG_TYPES const struct spa_type_info * spa_debug_type_find(const struct spa_type_info *info, uint32_t type)
Definition types.h:37
SPA_API_DEBUG_TYPES uint32_t spa_debug_type_find_type(const struct spa_type_info *info, const char *name)
Definition types.h:76
SPA_API_DEBUG_TYPES const char * spa_debug_type_short_name(const char *name)
Definition types.h:56
SPA_API_DEBUG_TYPES const char * spa_debug_type_find_name(const struct spa_type_info *info, uint32_t type)
Definition types.h:61
SPA_API_TYPE const char * spa_type_short_name(const char *name)
Definition type.h:166
#define SPA_TYPE_ROOT
Definition type-info.h:26
#define SPA_ID_INVALID
Definition defs.h:250
uint32_t type
Definition type.h:155