document DBUG_OUTPUT()

misc cleanup


dbug/example1.c:
  cleanup
dbug/example2.c:
  cleanup
dbug/example3.c:
  cleanup
dbug/main.c:
  cleanup
dbug/user.r:
  document DBUG_OUTPUT()
This commit is contained in:
unknown 2004-11-11 14:42:35 +01:00
parent f200533b3e
commit a55630bd37
5 changed files with 9 additions and 11 deletions

View file

@ -1,6 +1,3 @@
#include <my_global.h>
main (argc, argv) main (argc, argv)
int argc; int argc;
char *argv[]; char *argv[];

View file

@ -1,6 +1,3 @@
#include <my_global.h>
int debug = 0; int debug = 0;
main (argc, argv) main (argc, argv)

View file

@ -1,6 +1,3 @@
#include <my_global.h>
main (argc, argv) main (argc, argv)
int argc; int argc;
char *argv[]; char *argv[];

View file

@ -1,4 +1,4 @@
#include <dbug_long.h> #include <dbug.h>
int main (argc, argv) int main (argc, argv)
int argc; int argc;

View file

@ -873,7 +873,14 @@ disabled by DBUG_OFF togeher with the
.I dbug .I dbug
library. So there will be no need to disable asserts separately with NDEBUG. library. So there will be no need to disable asserts separately with NDEBUG.
.SP 1 .SP 1
EX:\ \fCDBUG_ASSERT(\ a\ >\ 0);\fR EX:\ \fCDBUG_ASSERT(\ a\ >\ 0\ );\fR
.SP 1
.LI DBUG_OUTPUT\
In multi-threaded environment disables (or enables) any
.I dbug
output from the current thread.
.SP 1
EX:\ \fCDBUG_OUTPUT(\ 0\ );\fR
.SP 1 .SP 1
.LE .LE