lint code

This commit is contained in:
aanper
2020-10-13 20:59:39 +03:00
parent f696673700
commit b007b9cb60
9 changed files with 271 additions and 23 deletions

View File

@@ -12,15 +12,10 @@ void COPY_COMPOSE(void* ctx, void* state) {
read_mutex((ValueMutex*)ctx, state, 0);
}
typedef enum {
UiLayerBelowNotify
UiLayerNotify,
UiLayerAboveNotify
} UiLayer;
typedef enum { UiLayerBelowNotify UiLayerNotify, UiLayerAboveNotify } UiLayer;
ValueComposerHandle* add_compose_layer(
ValueComposer* composer, ValueComposerCallback cb, void* ctx, uint32_t layer
);
ValueComposerHandle*
add_compose_layer(ValueComposer* composer, ValueComposerCallback cb, void* ctx, uint32_t layer);
bool remove_compose_layer(ValueComposerHandle* handle);
@@ -44,7 +39,6 @@ typedef struct {
PubSub pubsub;
} ValueManager;
/*
acquire value, changes it and send notify with current value.
*/