summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorstanton <stanton>1999-05-22 01:59:21 (GMT)
committerstanton <stanton>1999-05-22 01:59:21 (GMT)
commita912f987cc4a42b842e46d5ba8953533bd39c115 (patch)
tree867c43add539ea76f0f66b51eb2834cb1d3def94 /generic
parent3860979cba1e47893604c9b1b7427c4bab8ae92b (diff)
downloadtk-a912f987cc4a42b842e46d5ba8953533bd39c115.zip
tk-a912f987cc4a42b842e46d5ba8953533bd39c115.tar.gz
tk-a912f987cc4a42b842e46d5ba8953533bd39c115.tar.bz2
Merged changes from scriptics-tclpro-1-3-b2 branch
Diffstat (limited to 'generic')
-rw-r--r--generic/tk.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/generic/tk.h b/generic/tk.h
index c5ea528..45ef472 100644
--- a/generic/tk.h
+++ b/generic/tk.h
@@ -12,13 +12,21 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tk.h,v 1.24 1999/04/30 23:40:44 stanton Exp $
+ * RCS: @(#) $Id: tk.h,v 1.25 1999/05/22 01:59:21 stanton Exp $
*/
#ifndef _TK
#define _TK
/*
+ * For C++ compilers, use extern "C"
+ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
* When version numbers change here, you must also go into the following files
* and update the version numbers:
*
@@ -1210,4 +1218,12 @@ typedef int (Tk_SelectionProc) _ANSI_ARGS_((ClientData clientData,
#undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT
+/*
+ * end block for C++
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _TK */