diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-18 22:24:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-18 22:24:33 +0900 |
commit | 3b0c3b8206964b85bf3716c962d26dd15c4f285f (patch) | |
tree | 2f0973dbf96c2892d19a55b6f846f130e7399a48 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/log_rules.h | |
parent | ff287d2f48d4f4253bf84f19bd7fe937b61ede45 (diff) | |
download | extra-dependencies-master.tar.gz extra-dependencies-master.zip |
It is no longer necessary to maintain a customize trinity version.
Upstream version can be used as is.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/log_rules.h')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/log_rules.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/log_rules.h b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/log_rules.h deleted file mode 100644 index 1c1583e6..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/log_rules.h +++ /dev/null @@ -1,56 +0,0 @@ -/** - * @file log_rules.h - * prototypes for log_rules.cpp - * - * @author Guy Maurel - * @license GPL v2+ - */ - -#ifndef LOG_RULES_H_INCLUDED -#define LOG_RULES_H_INCLUDED - -#include "chunk.h" -#include "uncrustify.h" - -using namespace uncrustify; - -#define log_rule(rule) \ - log_rule2(__func__, __LINE__, (rule), first, second); \ - log_rule4((rule), first) - -// if you need more debug information, remove the comment at the next line -#define SUPER_LOG 1 -#ifdef SUPER_LOG -#define log_rule_B(rule) \ - log_rule3(LCURRENT, __func__, __LINE__, (rule)) -#else -#define log_rule_B(rule) \ - log_rule3(LCURRENT, __func__, (rule)) -#endif - -#ifdef SUPER_LOG -#define log_rule_NL(rule) \ - log_ruleNL((rule), pc) -#else -#define log_rule_NL(rule) \ - log_ruleNL(LCURRENT, __func__, (rule)) -#endif - -void log_rule2(const char *func, size_t line, const char *rule, Chunk *first, Chunk *second); - - -#ifdef SUPER_LOG -void log_rule3(log_sev_t sev, const char *func, size_t line, const char *rule); - -#else -void log_rule3(log_sev_t sev, const char *func, const char *rule); - -#endif - -void log_rule4(const char *rule, Chunk *first); - -void log_ruleStart(const char *rule, Chunk *first); - -void log_ruleNL(const char *rule, Chunk *pc); - -#endif /* LOG_RULES_H_INCLUDED */ |