summaryrefslogtreecommitdiff
path: root/src/nbdebug.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-10-24 19:18:58 +0000
committerBram Moolenaar <Bram@vim.org>2004-10-24 19:18:58 +0000
commit009b2592f7488286f286484b7f389e36fffa4bd9 (patch)
treec73d489697594d2c1216168f9bfb8763caed31f7 /src/nbdebug.h
parent47136d70fafd8b101965b8d3d4bb72f5fe7dc231 (diff)
downloadvim-git-009b2592f7488286f286484b7f389e36fffa4bd9.tar.gz
updated for version 7.0020
Diffstat (limited to 'src/nbdebug.h')
-rw-r--r--src/nbdebug.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/nbdebug.h b/src/nbdebug.h
index 46b2c0833..5aae15a88 100644
--- a/src/nbdebug.h
+++ b/src/nbdebug.h
@@ -24,10 +24,12 @@
#endif
#define nbdebug(a) nbdbg##a
+#define nbprint(a) nbprt##a
#define NB_TRACE 0x00000001
#define NB_TRACE_VERBOSE 0x00000002
#define NB_TRACE_COLONCMD 0x00000004
+#define NB_PRINT 0x00000008
#define NB_DEBUG_ALL 0xffffffff
#define NBDLEVEL(flags) (nb_debug != NULL && (nb_dlevel & (flags)))
@@ -43,6 +45,7 @@ typedef enum {
void nbdbg(char *, ...);
+void nbprt(char *, ...);
void nbtrace(char *, ...);
void nbdebug_wait __ARGS((u_int wait_flags, char *wait_var, u_int wait_secs));
@@ -58,7 +61,7 @@ extern u_int nb_dlevel; /* nb_debug verbosity level */
#endif
/*
- * The following 2 stubs are needed because a macro cannot be used because of
+ * The following 3 stubs are needed because a macro cannot be used because of
* the variable number of arguments.
*/
@@ -69,6 +72,12 @@ nbdbg(
{
}
+void
+nbprt(
+ char *fmt,
+ ...)
+{
+}
void
nbtrace(