summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorwelch <welch>1998-08-10 15:44:18 (GMT)
committerwelch <welch>1998-08-10 15:44:18 (GMT)
commitc46637e50d338911d0440d799a32fdc9903bec16 (patch)
treea2cc622c8fd4771af6035207540eb0ff8f4f2b76 /generic
parent35ef4bda26448abc0395b7088154c8e90036bf37 (diff)
downloadtcl-c46637e50d338911d0440d799a32fdc9903bec16.zip
tcl-c46637e50d338911d0440d799a32fdc9903bec16.tar.gz
tcl-c46637e50d338911d0440d799a32fdc9903bec16.tar.bz2
Moved shared typedef here
Diffstat (limited to 'generic')
-rw-r--r--generic/tclInt.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index a4e6e85..3dbe32d 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * SCCS: %Z% $Id: tclInt.h,v 1.15 1998/08/07 11:48:51 stanton Exp $
+ * SCCS: %Z% $Id: tclInt.h,v 1.16 1998/08/10 15:44:18 welch Exp $
*/
#ifndef _TCLINT
@@ -851,6 +851,21 @@ typedef struct ImportRef {
} ImportRef;
/*
+ * Data structure used as the ClientData of imported commands: commands
+ * created in an namespace when it imports a "real" command from another
+ * namespace.
+ */
+
+typedef struct ImportedCmdData {
+ struct Command *realCmdPtr; /* "Real" command that this imported command
+ * refers to. */
+ struct Command *selfPtr; /* Pointer to this imported command. Needed
+ * only when deleting it in order to remove
+ * it from the real command's linked list of
+ * imported commands that refer to it. */
+} ImportedCmdData;
+
+/*
* A Command structure exists for each command in a namespace. The
* Tcl_Command opaque type actually refers to these structures.
*/