You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
573 B
23 lines
573 B
4 years ago
|
/**
|
||
|
* @file align_var_def_brace.h
|
||
|
*
|
||
|
* @author Guy Maurel
|
||
|
* split from align.cpp
|
||
|
* @author Ben Gardner
|
||
|
* @license GPL v2+
|
||
|
*/
|
||
|
|
||
|
#ifndef ALIGN_VAR_DEF_BRACE_H_INCLUDED
|
||
|
#define ALIGN_VAR_DEF_BRACE_H_INCLUDED
|
||
|
|
||
2 years ago
|
#include "chunk.h"
|
||
4 years ago
|
|
||
|
/**
|
||
|
* Scan everything at the current level until the close brace and find the
|
||
|
* variable def align column. Also aligns bit-colons, but that assumes that
|
||
|
* bit-types are the same! But that should always be the case...
|
||
|
*/
|
||
2 years ago
|
Chunk *align_var_def_brace(Chunk *pc, size_t span, size_t *nl_count);
|
||
4 years ago
|
|
||
|
#endif /* ALIGN_VAR_DEF_BRACE_H_INCLUDED */
|