diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_typedefs.h')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_typedefs.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_typedefs.h b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_typedefs.h new file mode 100644 index 00000000..2902d0d2 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/align_typedefs.h @@ -0,0 +1,25 @@ +/** + * @file align_typedefs.h + * + * @author Guy Maurel + * split from align.cpp + * @author Ben Gardner + * @license GPL v2+ + */ + +#ifndef ALIGN_TYPEDEFS_H_INCLUDED +#define ALIGN_TYPEDEFS_H_INCLUDED + +#include "uncrustify_types.h" + +/** + * Aligns simple typedefs that are contained on a single line each. + * This should be called after the typedef target is marked as a type. + * + * typedef int foo_t; + * typedef char bar_t; + * typedef const char cc_t; + */ +void align_typedefs(size_t span); + +#endif /* ALIGN_TYPEDEFS_H_INCLUDED */ |