From c46637e50d338911d0440d799a32fdc9903bec16 Mon Sep 17 00:00:00 2001 From: welch Date: Mon, 10 Aug 1998 15:44:18 +0000 Subject: Moved shared typedef here --- generic/tclInt.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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. */ -- cgit v0.12