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

  1. Index: tkPlatDecls.h
  2. ===================================================================
  3. RCS file: /cvsroot/tktoolkit/tk/generic/tkPlatDecls.h,v
  4. retrieving revision 1.20
  5. diff -u -b -u -r1.20 tkPlatDecls.h
  6. --- tkPlatDecls.h 29 Jun 2009 14:35:01 -0000 1.20
  7. +++ tkPlatDecls.h 26 Oct 2009 18:26:27 -0000
  8. @@ -25,6 +25,10 @@
  9. * in the generic/tk.decls script.
  10. */
  11.  
  12. +#ifdef __cplusplus
  13. +extern "C" {
  14. +#endif
  15. +
  16. /* !BEGIN!: Do not edit below this line. */
  17.  
  18. /*
  19. @@ -243,6 +247,10 @@
  20.  
  21. /* !END!: Do not edit above this line. */
  22.  
  23. +#ifdef __cplusplus
  24. +}
  25. +#endif
  26. +
  27. #undef TCL_STORAGE_CLASS
  28. #define TCL_STORAGE_CLASS DLLIMPORT