diff options
| author | hypnotoad <yoda@etoyoc.com> | 2018-08-14 08:46:22 (GMT) |
|---|---|---|
| committer | hypnotoad <yoda@etoyoc.com> | 2018-08-14 08:46:22 (GMT) |
| commit | 9b285dde85a6b7f41dd63cadb8c32517e3b1d1dd (patch) | |
| tree | d6ffa0f2db12aa93aad7514167cf818ce0695597 /generic/tclInt.h | |
| parent | d62033b7e21f33603528c9712d11732f1fc756f7 (diff) | |
| parent | e5270637c01b6fbb0f016048fc9d9735f980421a (diff) | |
| download | tcl-9b285dde85a6b7f41dd63cadb8c32517e3b1d1dd.zip tcl-9b285dde85a6b7f41dd63cadb8c32517e3b1d1dd.tar.gz tcl-9b285dde85a6b7f41dd63cadb8c32517e3b1d1dd.tar.bz2 | |
Merging changes with 8.7
Diffstat (limited to 'generic/tclInt.h')
| -rw-r--r-- | generic/tclInt.h | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index a88e012..0e66d6f 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -38,6 +38,23 @@ #define AVOID_HACKS_FOR_ITCL 1 + +/* + * 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). + * Also used in the platform-specific *Port.h files. + */ + +#ifndef MODULE_SCOPE +# ifdef __cplusplus +# define MODULE_SCOPE extern "C" +# else +# define MODULE_SCOPE extern +# endif +#endif + + + /* * Common include files needed by most of the Tcl source files are included * here, so that system-dependent personalizations for the include files only @@ -95,19 +112,6 @@ typedef int ptrdiff_t; #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 - -/* * Macros used to cast between pointers and integers (e.g. when storing an int * in ClientData), on 64-bit architectures they avoid gcc warning about "cast * to/from pointer from/to integer of different size". |
