/* -*-c-*-
*
- * $Id: vec.c,v 1.1 2003/03/07 00:45:35 mdw Exp $
+ * $Id$
*
* Vectors and arrays in Tcl
*
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: vec.c,v $
- * Revision 1.1 2003/03/07 00:45:35 mdw
- * A multidimensional vector/matrix type which is updateable in place.
- *
- */
-
/*----- Header files ------------------------------------------------------*/
#include <assert.h>
Tcl_IncrRefCount(init);
if ((v = vec_create(ti, ndim, dim, init)) == 0)
goto fail;
- Tcl_SetResult(ti, Tcl_GetCommandName(ti, v->c), TCL_STATIC);
+ Tcl_SetResult(ti, (/*unconst */char *)Tcl_GetCommandName(ti, v->c),
+ TCL_STATIC);
rc = TCL_OK;
fail: