summaryrefslogtreecommitdiff
path: root/comm/TkMultiplexer.h
diff options
context:
space:
mode:
authorchatty2000-11-28 17:07:45 +0000
committerchatty2000-11-28 17:07:45 +0000
commitf0540b018ae6c266126162a96abf70a4c7a2f53a (patch)
tree884ebd17580527aecfd8449f8e96b097df256391 /comm/TkMultiplexer.h
parent3e122e7cc7cea7cc723f3cd4835d18a78e5fc145 (diff)
downloadivy-league-f0540b018ae6c266126162a96abf70a4c7a2f53a.zip
ivy-league-f0540b018ae6c266126162a96abf70a4c7a2f53a.tar.gz
ivy-league-f0540b018ae6c266126162a96abf70a4c7a2f53a.tar.bz2
ivy-league-f0540b018ae6c266126162a96abf70a4c7a2f53a.tar.xz
* Made consistent with Tcl7.0 and Tk3.3
Diffstat (limited to 'comm/TkMultiplexer.h')
-rw-r--r--comm/TkMultiplexer.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/comm/TkMultiplexer.h b/comm/TkMultiplexer.h
index c1ecded..08a6adc 100644
--- a/comm/TkMultiplexer.h
+++ b/comm/TkMultiplexer.h
@@ -17,9 +17,19 @@
#define TkMultiplexer_H_
#include "Multiplexer.h"
-extern "C" {
-#include "tk.h"
-}
+#include "error.h"
+
+/* taken from tcl7.0 and tk3.3 */
+typedef struct Tk_TimerToken_ *Tk_TimerToken;
+#ifndef _CLIENTDATA
+# ifdef __STDC__
+ typedef void *ClientData;
+# else
+ typedef int *ClientData;
+# endif /* __STDC__ */
+#define _CLIENTDATA
+#endif
+
class UchTkMultiplexer : public UchBaseMultiplexer {
private: