summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2005-09-10 15:11:15 (GMT)
committerdas <das>2005-09-10 15:11:15 (GMT)
commit03172432b3e289654da46234c5cb015b408b5976 (patch)
treeb39ab4bf4dc665a10bea32186c157123f1b6619e
parent772a802bd1a149cefda0f2fb72e01c827e2eec09 (diff)
downloadtk-03172432b3e289654da46234c5cb015b408b5976.zip
tk-03172432b3e289654da46234c5cb015b408b5976.tar.gz
tk-03172432b3e289654da46234c5cb015b408b5976.tar.bz2
move declarations of Carbon-internal event debugging routines to tkMacOSXCarbonEvents.c
-rw-r--r--macosx/tkMacOSXCarbonEvents.c8
-rw-r--r--macosx/tkMacOSXDebug.h6
2 files changed, 8 insertions, 6 deletions
diff --git a/macosx/tkMacOSXCarbonEvents.c b/macosx/tkMacOSXCarbonEvents.c
index e946df5..94e5f13 100644
--- a/macosx/tkMacOSXCarbonEvents.c
+++ b/macosx/tkMacOSXCarbonEvents.c
@@ -53,7 +53,7 @@
* software in accordance with the terms specified in this
* license.
*
- * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.4 2005/09/10 14:53:20 das Exp $
+ * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.5 2005/09/10 15:11:15 das Exp $
*/
#include "tkInt.h"
@@ -67,6 +67,12 @@
#endif
*/
+#ifdef TK_MAC_DEBUG_CARBON_EVENTS
+/* Carbon-internal event debugging routines (c.f. Technote 2124): */
+void _DebugPrintEvent(EventRef inEvent);
+void _TraceEventByName(CFStringRef eventName);
+#endif /* TK_MAC_DEBUG_CARBON_EVENTS */
+
/* Declarations of functions used only in this file */
static OSStatus CarbonEventHandlerProc (
EventHandlerCallRef callRef,
diff --git a/macosx/tkMacOSXDebug.h b/macosx/tkMacOSXDebug.h
index f4d79ae..4851126 100644
--- a/macosx/tkMacOSXDebug.h
+++ b/macosx/tkMacOSXDebug.h
@@ -50,7 +50,7 @@
* software in accordance with the terms specified in this
* license.
*
- * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.4 2005/09/10 14:53:20 das Exp $
+ * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.5 2005/09/10 15:11:15 das Exp $
*/
#ifndef _TKMACDEBUG
@@ -74,10 +74,6 @@ char * TkMacOSXMenuMessageToAscii(int msg, char * s);
char * MouseTrackingResultToAscii(MouseTrackingResult r, char * buf );
-/* Declare Carbon-internal debugging routines (c.f. Technote 2124): */
-void _DebugPrintEvent(EventRef inEvent);
-void _TraceEventByName(CFStringRef eventName);
-
#endif
#endif