summaryrefslogtreecommitdiffstats
path: root/generic/tclIntDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-01-12 16:30:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-01-12 16:30:03 (GMT)
commitf0b9b9fbb6d6275b0be9047cee3a2fbdfb9ecdd4 (patch)
treec8f5508e0e76991c70aa2c0d58514db18ed3aeb5 /generic/tclIntDecls.h
parent88233497abccd1215abfc8e09aeda7bf4fea2931 (diff)
parent244885a03e8d66f5500058eaf820d6b47f292007 (diff)
downloadtcl-f0b9b9fbb6d6275b0be9047cee3a2fbdfb9ecdd4.zip
tcl-f0b9b9fbb6d6275b0be9047cee3a2fbdfb9ecdd4.tar.gz
tcl-f0b9b9fbb6d6275b0be9047cee3a2fbdfb9ecdd4.tar.bz2
merge core-8-branch
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r--generic/tclIntDecls.h72
1 files changed, 19 insertions, 53 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h
index 0643258..f223225 100644
--- a/generic/tclIntDecls.h
+++ b/generic/tclIntDecls.h
@@ -28,6 +28,22 @@
# endif
#endif
+#if !defined(TCL_NO_DEPRECATED) && (TCL_MAJOR_VERSION < 9)
+/* Those macro's are especially for Itcl 3.4 compatibility */
+# define tclCreateNamespace tcl_CreateNamespace
+# define tclDeleteNamespace tcl_DeleteNamespace
+# define tclAppendExportList tcl_AppendExportList
+# define tclExport tcl_Export
+# define tclImport tcl_Import
+# define tclForgetImport tcl_ForgetImport
+# define tclGetCurrentNamespace_ tcl_GetCurrentNamespace
+# define tclGetGlobalNamespace_ tcl_GetGlobalNamespace
+# define tclFindNamespace tcl_FindNamespace
+# define tclFindCommand tcl_FindCommand
+# define tclGetCommandFromObj tcl_GetCommandFromObj
+# define tclGetCommandFullName tcl_GetCommandFullName
+#endif /* !defined(TCL_NO_DEPRECATED) */
+
/*
* WARNING: This file is automatically generated by the tools/genStubs.tcl
* script. Any modifications to the function declarations below should be made
@@ -217,7 +233,8 @@ EXTERN char * TclpRealloc(char *ptr, unsigned int size);
/* Slot 86 is reserved */
/* Slot 87 is reserved */
/* 88 */
-EXTERN char * TclPrecTraceProc(ClientData clientData,
+TCL_DEPRECATED("")
+char * TclPrecTraceProc(ClientData clientData,
Tcl_Interp *interp, const char *name1,
const char *name2, int flags);
/* 89 */
@@ -725,7 +742,7 @@ typedef struct TclIntStubs {
void (*reserved85)(void);
void (*reserved86)(void);
void (*reserved87)(void);
- char * (*tclPrecTraceProc) (ClientData clientData, Tcl_Interp *interp, const char *name1, const char *name2, int flags); /* 88 */
+ TCL_DEPRECATED_API("") char * (*tclPrecTraceProc) (ClientData clientData, Tcl_Interp *interp, const char *name1, const char *name2, int flags); /* 88 */
int (*tclPreventAliasLoop) (Tcl_Interp *interp, Tcl_Interp *cmdInterp, Tcl_Command cmd); /* 89 */
void (*reserved90)(void);
void (*tclProcCleanupProc) (Proc *procPtr); /* 91 */
@@ -1365,57 +1382,6 @@ extern const TclIntStubs *tclIntStubsPtr;
# undef TclGetCommandFullName
# undef TclCopyChannelOld
# undef TclSockMinimumBuffersOld
-
-#if !defined(TCL_NO_DEPRECATED)
-# undef Tcl_CreateNamespace
-# define Tcl_CreateNamespace \
- (tclIntStubsPtr->tclCreateNamespace) /* 113 */
-# define tcl_CreateNamespace tclCreateNamespace
-# undef Tcl_DeleteNamespace
-# define Tcl_DeleteNamespace \
- (tclIntStubsPtr->tclDeleteNamespace) /* 114 */
-# define tcl_DeleteNamespace tclDeleteNamespace
-# undef Tcl_AppendExportList
-# define Tcl_AppendExportList \
- (tclIntStubsPtr->tclAppendExportList) /* 112 */
-# define tcl_AppendExportList tclAppendExportList
-# undef Tcl_Export
-# define Tcl_Export \
- (tclIntStubsPtr->tclExport) /* 115 */
-# define tcl_Export tclExport
-# undef Tcl_Import
-# define Tcl_Import \
- (tclIntStubsPtr->tclImport) /* 127 */
-# define tcl_Import tclImport
-# undef Tcl_ForgetImport
-# define Tcl_ForgetImport \
- (tclIntStubsPtr->tclForgetImport) /* 121 */
-# define tcl_ForgetImport tclForgetImport
-# undef Tcl_GetCurrentNamespace
-# define Tcl_GetCurrentNamespace \
- (tclIntStubsPtr->tclGetCurrentNamespace_) /* 124 */
-# define tcl_GetCurrentNamespace tclGetCurrentNamespace_
-# undef Tcl_GetGlobalNamespace
-# define Tcl_GetGlobalNamespace \
- (tclIntStubsPtr->tclGetGlobalNamespace_) /* 125 */
-# define tcl_GetGlobalNamespace tclGetGlobalNamespace_
-# undef Tcl_FindNamespace
-# define Tcl_FindNamespace \
- (tclIntStubsPtr->tclFindNamespace) /* 117 */
-# define tcl_FindNamespace tclFindNamespace
-# undef Tcl_FindCommand
-# define Tcl_FindCommand \
- (tclIntStubsPtr->tclFindCommand) /* 116 */
-# define tcl_FindCommand tclFindCommand
-# undef Tcl_GetCommandFromObj
-# define Tcl_GetCommandFromObj \
- (tclIntStubsPtr->tclGetCommandFromObj) /* 122 */
-# define tcl_GetCommandFromObj tclGetCommandFromObj
-# undef Tcl_GetCommandFullName
-# define Tcl_GetCommandFullName \
- (tclIntStubsPtr->tclGetCommandFullName) /* 123 */
-# define tcl_GetCommandFullName tclGetCommandFullName
-#endif /* !defined(TCL_NO_DEPRECATED) */
#endif
#endif /* _TCLINTDECLS */