From 38806526bbb9d03a7917e2a035bf42fb3288fe2e Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Sat, 12 Feb 2005 14:28:23 +0000 Subject: winmsg.h New function winTrace --- hw/xwin/ChangeLog | 6 ++++++ hw/xwin/winmsg.c | 9 +++++++++ hw/xwin/winmsg.h | 1 + 3 files changed, 16 insertions(+) diff --git a/hw/xwin/ChangeLog b/hw/xwin/ChangeLog index 267546709..7092834b8 100644 --- a/hw/xwin/ChangeLog +++ b/hw/xwin/ChangeLog @@ -1,3 +1,9 @@ +2005-02-12 Alexander Gottwald + + * winmsg.h + * winmsg.c: + New function winTrace + 2005-02-08 Alexander Gottwald * winkeybd.c: diff --git a/hw/xwin/winmsg.c b/hw/xwin/winmsg.c index 49ecd09f9..2e5e28f59 100644 --- a/hw/xwin/winmsg.c +++ b/hw/xwin/winmsg.c @@ -102,6 +102,15 @@ winDebug (const char *format, ...) va_end (ap); } +void +winTrace (const char *format, ...) +{ + va_list ap; + va_start (ap, format); + LogVMessageVerb(X_NONE, 10, format, ap); + va_end (ap); +} + void winW32Error(int verb, const char *msg) { diff --git a/hw/xwin/winmsg.h b/hw/xwin/winmsg.h index f29972004..a9eb3c7ac 100644 --- a/hw/xwin/winmsg.h +++ b/hw/xwin/winmsg.h @@ -42,6 +42,7 @@ void winDrvMsg (int scrnIndex, MessageType type, const char *format, ...); void winMsgVerb (MessageType type, int verb, const char *format, ...); void winMsg (MessageType type, const char *format, ...); void winDebug (const char *format, ...); +void winTrace (const char *format, ...); void winErrorFVerb (int verb, const char *format, ...); void winW32Error(int verb, const char *message); -- cgit v1.2.3