diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-11-21 17:04:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-11-21 17:09:35 +0900 |
commit | e6ba08c3b21cdb14ee3a97b5d584759a4597b54b (patch) | |
tree | e8b4121323f2f448aeaa15bf3bddb465f36aea8b /debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/unc_tools.h | |
parent | f312c235ea5f9971066f3808997d20f89c25f33b (diff) | |
download | extra-dependencies-e6ba08c3b21cdb14ee3a97b5d584759a4597b54b.tar.gz extra-dependencies-e6ba08c3b21cdb14ee3a97b5d584759a4597b54b.zip |
uncrustify-trinity: updated based on upstream version 0.74.0
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/unc_tools.h')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/unc_tools.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/unc_tools.h b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/unc_tools.h new file mode 100644 index 00000000..3ee393d7 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/src/unc_tools.h @@ -0,0 +1,46 @@ +/** + * @file unc_tools.h + * + * @author Guy Maurel + * October 2015, 2016, 2017, 2018, 2019, 2020, 2021 + * @license GPL v2+ + */ + +#ifndef UNC_TOOLS_H_INCLUDED +#define UNC_TOOLS_H_INCLUDED + +#include "prototypes.h" + +#if defined DEBUG +#define PROT_THE_LINE prot_the_line(__func__, __LINE__, 0, 0); +#else +#define PROT_THE_LINE /* do nothing */; +#endif + + +void prot_the_line(const char *func_name, int theLine, unsigned int actual_line, size_t partNumber); + + +void prot_the_line_pc(chunk_t *pc_sub, const char *func_name, int theLine, unsigned int actual_line, size_t partNumber); + + +void prot_all_lines(const char *func_name, int theLine); + + +void prot_the_source(int theLine); + + +void examine_Data(const char *func_name, int theLine, int what); + + +//! dump the chunk list to a file +void dump_out(unsigned int type); + + +//! create chunk list from a file +void dump_in(unsigned int type); + + +size_t get_A_Number(); + +#endif /* UNC_TOOLS_H_INCLUDED */ |