]> Dogcows Code - chaz/openbox/blob - openbox/debug.c
lwindow needs a type
[chaz/openbox] / openbox / debug.c
1 #include <glib.h>
2 #include <stdlib.h>
3 #include <stdarg.h>
4 #include <stdio.h>
5
6 static gboolean show;
7
8 void ob_debug_show_output(gboolean enable)
9 {
10 show = enable;
11 }
12
13 void ob_debug(char *a, ...)
14 {
15 va_list vl;
16
17 if (show) {
18 va_start(vl, a);
19 vfprintf(stderr, a, vl);
20 }
21 }
This page took 0.032409 seconds and 4 git commands to generate.