summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/src/language_tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/src/language_tools.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.73.0/src/language_tools.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/src/language_tools.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/src/language_tools.cpp
new file mode 100644
index 00000000..77e577f4
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/src/language_tools.cpp
@@ -0,0 +1,17 @@
+/**
+ * @file language_tools.cpp
+ *
+ * @author Guy Maurel
+ * @license GPL v2+
+ */
+
+#include "language_tools.h"
+
+
+/**
+ * check if the language(s) is/are set
+ */
+bool language_is_set(size_t lang)
+{
+ return((cpd.lang_flags & lang) != 0);
+}