Reformat .h files.
I did my best to exempt some of the bigger aligned blocks from the reformatting using the /* clang-format off */ and /* clang-format on */ tags. Probably some that shouldn't have been formatted were anyway; if you encounter them, please fix. The clang-format tags were left in on the basis that it's much easier to prune those out later than to put them back in, and it means that, modulo my custom version of clang-format, I should be able to run clang-format on the source tree again without changing anything, now that Pat has fixed the VA_DECL issues.
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
#include <e_gem.h>
|
||||
/********** structs **********/
|
||||
typedef struct {
|
||||
GRECT *rects;
|
||||
int max,used;
|
||||
GRECT *rects;
|
||||
int max, used;
|
||||
} dirty_rect;
|
||||
/********* functions ************/
|
||||
dirty_rect *new_dirty_rect(int size);
|
||||
void delete_dirty_rect(dirty_rect *this);
|
||||
int add_dirty_rect(dirty_rect *dr,GRECT *area);
|
||||
int get_dirty_rect(dirty_rect* dr,GRECT *area);
|
||||
int add_dirty_rect(dirty_rect *dr, GRECT *area);
|
||||
int get_dirty_rect(dirty_rect *dr, GRECT *area);
|
||||
int clear_dirty_rect(dirty_rect *dr);
|
||||
int resize_dirty_rect(dirty_rect *dr,int new_size);
|
||||
int resize_dirty_rect(dirty_rect *dr, int new_size);
|
||||
|
||||
Reference in New Issue
Block a user