summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-17 10:41:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-17 10:41:56 (GMT)
commit7d1100313a68cf7d64f008b426f663c7af9362ae (patch)
tree612039a181bb9293de45bbd842fcbad149b7188b /doc
parent06b24153f7ea8257a0e26ec56f8db1ac74c77031 (diff)
parentc6dcb383b3da1763e3f325a5163925f49736195b (diff)
downloadtcl-7d1100313a68cf7d64f008b426f663c7af9362ae.zip
tcl-7d1100313a68cf7d64f008b426f663c7af9362ae.tar.gz
tcl-7d1100313a68cf7d64f008b426f663c7af9362ae.tar.bz2
Deprecate Tcl_GetAlias()
Diffstat (limited to 'doc')
-rw-r--r--doc/CrtAlias.39
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/CrtAlias.3 b/doc/CrtAlias.3
index fba6253..eece208 100644
--- a/doc/CrtAlias.3
+++ b/doc/CrtAlias.3
@@ -168,16 +168,17 @@ restrictions on how they are related.
that it takes a vector of values to pass as additional arguments instead
of a vector of strings.
.PP
-\fBTcl_GetAlias\fR returns information about an alias \fIaliasName\fR
+\fBTcl_GetAliasObj\fR returns information in the form of a pointer to
+a vector of Tcl_Obj structures about an alias \fIaliasName\fR
in \fIinterp\fR. Any of the result fields can be \fBNULL\fR, in
which case the corresponding datum is not returned. If a result field is
non\-\fBNULL\fR, the address indicated is set to the corresponding datum.
For example, if \fItargetNamePtr\fR is non\-\fBNULL\fR it is set to a
pointer to the string containing the name of the target command.
.PP
-\fBTcl_GetAliasObj\fR is similar to \fBTcl_GetAlias\fR except that it
-returns a pointer to a vector of Tcl_Obj structures instead of a vector of
-strings.
+\fBTcl_GetAlias\fR is similar to \fBTcl_GetAliasObj\fR except that it
+returns a pointer to a vector of string instead of a vector of
+Tcl_Obj structures. \fBTcl_GetAlias\fR is deprecated.
.PP
\fBTcl_ExposeCommand\fR moves the command named \fIhiddenCmdName\fR from
the set of hidden commands to the set of exposed commands, putting