spa: prefix SPA_*_LAST enum values with an underscore

These are not part of the ABI, prefixing them makes this a bit more obvious
that they shouldn't be used.
This commit is contained in:
Peter Hutterer 2021-05-06 10:55:40 +10:00
parent 2ff7a8fba7
commit 0504ebffeb
7 changed files with 15 additions and 15 deletions

View file

@ -149,7 +149,7 @@ static inline int spa_debug_format(int indent,
size = val->size;
vals = SPA_POD_BODY(val);
if (type < SPA_TYPE_None || type >= SPA_TYPE_LAST)
if (type < SPA_TYPE_None || type >= _SPA_TYPE_LAST)
continue;
ti = spa_debug_type_find(info, prop->key);