Tcl_CreateAlias() and Tcl_CreateAliasObj() set the result of the source
interpreter (in which the alias is created). They don't do that
themselves, but they call AliasCreate() which does that for them.
This may come in handy for object commands like Tcl_InterpObjCmd(), but
in the cases where Tcl_CreateAlias() and Tcl_CreateAliasObj() are not
called as part of an object command, I do not see the need for setting
an interp result (there may be an exception in case these functions fail).
And even if they are called as part of an object command, ought not the
object command manage the interpreter result itself?
Maybe I overlook a very good reason, but shouldn't the docs mention the
side effect in that case?
Erik
--
leunissen@ nl | Merge the left part of these two lines into one,
e. hccnet. | respecting a character's position in a line.