type-info: fully initialize structs

This commit is contained in:
Wim Taymans 2019-01-07 13:56:08 +01:00
parent 2c4bffec74
commit 1ca7704d64
9 changed files with 401 additions and 400 deletions

View file

@ -38,10 +38,10 @@ extern "C" {
#define SPA_TYPE_CONTROL_BASE SPA_TYPE__Control ":"
static const struct spa_type_info spa_type_control[] = {
{ SPA_CONTROL_Invalid, SPA_TYPE_CONTROL_BASE "Invalid", SPA_TYPE_Int, },
{ SPA_CONTROL_Properties, SPA_TYPE_CONTROL_BASE "Properties", SPA_TYPE_Int, },
{ SPA_CONTROL_Midi, SPA_TYPE_CONTROL_BASE "Midi", SPA_TYPE_Int, },
{ 0, NULL, },
{ SPA_CONTROL_Invalid, SPA_TYPE_CONTROL_BASE "Invalid", SPA_TYPE_Int, NULL },
{ SPA_CONTROL_Properties, SPA_TYPE_CONTROL_BASE "Properties", SPA_TYPE_Int, NULL },
{ SPA_CONTROL_Midi, SPA_TYPE_CONTROL_BASE "Midi", SPA_TYPE_Int, NULL },
{ 0, NULL, 0, NULL },
};
#ifdef __cplusplus