diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-02-12 14:28:23 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-02-12 14:28:23 +0000 |
commit | 38806526bbb9d03a7917e2a035bf42fb3288fe2e (patch) | |
tree | 88e968322828729c366e053a63be9a3af15de8f5 | |
parent | ee02a83013b06af5f7878d33bbc2d76bd733524a (diff) |
winmsg.h
New function winTrace
-rw-r--r-- | hw/xwin/ChangeLog | 6 | ||||
-rw-r--r-- | hw/xwin/winmsg.c | 9 | ||||
-rw-r--r-- | hw/xwin/winmsg.h | 1 |
3 files changed, 16 insertions, 0 deletions
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 <ago at freedesktop dot org> + + * winmsg.h + * winmsg.c: + New function winTrace + 2005-02-08 Alexander Gottwald <ago at freedesktop dot org> * 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 @@ -103,6 +103,15 @@ winDebug (const char *format, ...) } 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) { winW32ErrorEx(verb, msg, GetLastError()); 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); |