Clang formatter: add indent to wrapped functions names. (#548)
This commit is contained in:
@@ -37,8 +37,11 @@ MenuItem* menu_item_alloc_menu(const char* label, Icon* icon) {
|
||||
return menu_item;
|
||||
}
|
||||
|
||||
MenuItem*
|
||||
menu_item_alloc_function(const char* label, Icon* icon, MenuItemCallback callback, void* context) {
|
||||
MenuItem* menu_item_alloc_function(
|
||||
const char* label,
|
||||
Icon* icon,
|
||||
MenuItemCallback callback,
|
||||
void* context) {
|
||||
MenuItem* menu_item = menu_item_alloc();
|
||||
|
||||
menu_item->type = MenuItemTypeFunction;
|
||||
|
@@ -16,8 +16,11 @@ ARRAY_DEF(MenuItemArray, MenuItem*, M_PTR_OPLIST);
|
||||
|
||||
MenuItem* menu_item_alloc_menu(const char* label, Icon* icon);
|
||||
|
||||
MenuItem*
|
||||
menu_item_alloc_function(const char* label, Icon* icon, MenuItemCallback callback, void* context);
|
||||
MenuItem* menu_item_alloc_function(
|
||||
const char* label,
|
||||
Icon* icon,
|
||||
MenuItemCallback callback,
|
||||
void* context);
|
||||
|
||||
void menu_item_release(MenuItem* menu_item);
|
||||
|
||||
|
Reference in New Issue
Block a user