diff options
author | stanton <stanton> | 1999-05-22 01:20:10 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-05-22 01:20:10 (GMT) |
commit | ac39508cf97576cd9747c5630c4a13d794663b4a (patch) | |
tree | 4b7c61e6c670f227cf4d603907157fb6246d2d50 /generic/tcl.h | |
parent | 21bd132482f68735f5a4381934f56ee911904e87 (diff) | |
download | tcl-ac39508cf97576cd9747c5630c4a13d794663b4a.zip tcl-ac39508cf97576cd9747c5630c4a13d794663b4a.tar.gz tcl-ac39508cf97576cd9747c5630c4a13d794663b4a.tar.bz2 |
Merged changes from scriptics-tclpro-1-3-b2 branch
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 9524f87..829f0b7 100644 --- a/generic/tcl.h +++ b/generic/tcl.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: tcl.h,v 1.43 1999/04/30 23:35:40 stanton Exp $ + * RCS: @(#) $Id: tcl.h,v 1.44 1999/05/22 01:20:11 stanton Exp $ */ #ifndef _TCL #define _TCL /* + * For C++ compilers, use extern "C" + */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* * The following defines are used to indicate the various release levels. */ @@ -1543,4 +1551,12 @@ EXTERN int Tcl_AppInit _ANSI_ARGS_((Tcl_Interp *interp)); #undef TCL_STORAGE_CLASS #define TCL_STORAGE_CLASS DLLIMPORT +/* + * end block for C++ + */ + +#ifdef __cplusplus +} +#endif + #endif /* _TCL */ |