diff options
| author | hobbs <hobbs> | 2005-10-10 21:33:08 (GMT) |
|---|---|---|
| committer | hobbs <hobbs> | 2005-10-10 21:33:08 (GMT) |
| commit | 54b489c20c1155547162094e5db57dcbc3d31a2f (patch) | |
| tree | df52d0bad65ba791b41f25ff3a200e300fa28ba1 /generic/tclInt.h | |
| parent | fbcfde6cfa3993bcb996aed0ff8051f7596d2564 (diff) | |
| download | tcl-54b489c20c1155547162094e5db57dcbc3d31a2f.zip tcl-54b489c20c1155547162094e5db57dcbc3d31a2f.tar.gz tcl-54b489c20c1155547162094e5db57dcbc3d31a2f.tar.bz2 | |
ensure MODULE_SCOPE decl
Diffstat (limited to 'generic/tclInt.h')
| -rw-r--r-- | generic/tclInt.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 2538772..d2da3b7 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.118.2.17 2005/08/03 22:23:42 dgp Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.118.2.18 2005/10/10 21:33:09 hobbs Exp $ */ #ifndef _TCLINT @@ -77,6 +77,19 @@ # endif #endif +/* + * Used to tag functions that are only to be visible within the module being + * built and not outside it (where this is supported by the linker). + */ + +#ifndef MODULE_SCOPE +# ifdef __cplusplus +# define MODULE_SCOPE extern "C" +# else +# define MODULE_SCOPE extern +# endif +#endif + #undef TCL_STORAGE_CLASS #ifdef BUILD_tcl # define TCL_STORAGE_CLASS DLLEXPORT |
