summaryrefslogtreecommitdiffstats
path: root/addon/doxmlparser/src/debug.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-02-02 20:21:27 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-02-02 20:34:58 (GMT)
commit095c5de5e4df192898f7f13e9b51524999615983 (patch)
tree2d04e5aacb490898ed8053100cc1eca334f6be4a /addon/doxmlparser/src/debug.cpp
parentcd3c39c11084a326baee2e81420fe13a5dacb8e2 (diff)
downloadDoxygen-095c5de5e4df192898f7f13e9b51524999615983.zip
Doxygen-095c5de5e4df192898f7f13e9b51524999615983.tar.gz
Doxygen-095c5de5e4df192898f7f13e9b51524999615983.tar.bz2
Replace the C++ doxmlparser libary by a python based module
Diffstat (limited to 'addon/doxmlparser/src/debug.cpp')
-rw-r--r--addon/doxmlparser/src/debug.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/addon/doxmlparser/src/debug.cpp b/addon/doxmlparser/src/debug.cpp
deleted file mode 100644
index a8be32c..0000000
--- a/addon/doxmlparser/src/debug.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
-
-#include "debug.h"
-
-static int s_debugLevel = 0;
-
-void debug(int level,const char *msg,...)
-{
- if (level<=s_debugLevel)
- {
- va_list args;
- va_start(args, msg);
- vfprintf(stderr, msg, args);
- va_end(args);
- }
-}
-
-void setDebugLevel(int level)
-{
- s_debugLevel = level;
-}
-