Posted to tcl by kbk at Mon Oct 26 18:27:45 GMT 2009view pretty

Index: tkPlatDecls.h
===================================================================
RCS file: /cvsroot/tktoolkit/tk/generic/tkPlatDecls.h,v
retrieving revision 1.20
diff -u -b -u -r1.20 tkPlatDecls.h
--- tkPlatDecls.h       29 Jun 2009 14:35:01 -0000      1.20
+++ tkPlatDecls.h       26 Oct 2009 18:26:27 -0000
@@ -25,6 +25,10 @@
  * in the generic/tk.decls script.
  */
  
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* !BEGIN!: Do not edit below this line. */
  
 /*
@@ -243,6 +247,10 @@
  
 /* !END!: Do not edit above this line. */
  
+#ifdef __cplusplus
+}
+#endif
+
 #undef TCL_STORAGE_CLASS
 #define TCL_STORAGE_CLASS DLLIMPORT