Diff
Not logged in

Differences From Artifact [c4b6cbee63]:

To Artifact [0c484fb7f4]:


121
122
123
124
125
126
127
128
129

130
131

132
133
134
135
136
137
138
121
122
123
124
125
126
127


128


129
130
131
132
133
134
135
136







-
-
+
-
-
+







    /*
     * Install into the [info] ensemble.
     */

    infoCmd = Tcl_FindCommand(interp, "info", NULL, TCL_GLOBAL_ONLY);
    if (infoCmd) {
	Tcl_GetEnsembleMappingDict(NULL, infoCmd, &mapDict);
	Tcl_DictObjPut(NULL, mapDict, Tcl_NewStringObj("object", -1),
		Tcl_NewStringObj("::oo::InfoObject", -1));
	TclDictPutString(NULL, mapDict, "object", "::oo::InfoObject");
	Tcl_DictObjPut(NULL, mapDict, Tcl_NewStringObj("class", -1),
		Tcl_NewStringObj("::oo::InfoClass", -1));
	TclDictPutString(NULL, mapDict, "class", "::oo::InfoClass");
	Tcl_SetEnsembleMappingDict(interp, infoCmd, mapDict);
    }
}

/*
 * ----------------------------------------------------------------------
 *