diff options
author | David Robillard <d@drobilla.net> | 2024-11-15 09:18:27 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-17 14:40:26 -0500 |
commit | 51ce1915e4ccc8eb41720101bbcefd0fd6ee5d7a (patch) | |
tree | 466795afaf0f423a14cb1f830250bef7bd99d08e /src | |
parent | 822cb87411d5620fc5cbd66eb6ac5311b7723bff (diff) | |
download | jalv-51ce1915e4ccc8eb41720101bbcefd0fd6ee5d7a.tar.gz jalv-51ce1915e4ccc8eb41720101bbcefd0fd6ee5d7a.tar.bz2 jalv-51ce1915e4ccc8eb41720101bbcefd0fd6ee5d7a.zip |
Update clang-format configuration
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_gtk.c | 3 | ||||
-rw-r--r-- | src/symap.h | 9 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/jalv_gtk.c b/src/jalv_gtk.c index 002bcb4..9784420 100644 --- a/src/jalv_gtk.c +++ b/src/jalv_gtk.c @@ -820,8 +820,7 @@ jalv_ui_port_event(Jalv* jalv, } else if (obj->body.otype == jalv->urids.patch_Put) { const LV2_Atom_Object* body = NULL; if (!patch_put_get(jalv, obj, &body)) { - LV2_ATOM_OBJECT_FOREACH(body, prop) - { + LV2_ATOM_OBJECT_FOREACH (body, prop) { property_changed(jalv, prop->key, &prop->value); } } diff --git a/src/symap.h b/src/symap.h index 74dc59a..276b41e 100644 --- a/src/symap.h +++ b/src/symap.h @@ -19,8 +19,7 @@ typedef struct SymapImpl Symap; /// Create a new symbol map -ZIX_MALLOC_FUNC -Symap* +ZIX_MALLOC_FUNC Symap* symap_new(void); /// Free a symbol map @@ -28,8 +27,7 @@ void symap_free(Symap* map); /// Map a string to a symbol if it is already mapped, otherwise return 0 -ZIX_PURE_FUNC -uint32_t +ZIX_PURE_FUNC uint32_t symap_try_map(const Symap* map, const char* sym); /// Map a string to a symbol @@ -37,8 +35,7 @@ uint32_t symap_map(Symap* map, const char* sym); /// Unmap a symbol back to a string if possible, otherwise return NULL -ZIX_PURE_FUNC -const char* +ZIX_PURE_FUNC const char* symap_unmap(const Symap* map, uint32_t id); #endif // SYMAP_H |