PLplot  5.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
matrixInit.c
Go to the documentation of this file.
1 // $Id: matrixInit.c 11680 2011-03-27 17:57:51Z airwin $
2 //
3 // Tcl Matrix initializer.
4 // Vince Darley
5 //
6 // Copyright (C) 2004 Joao Cardoso
7 //
8 // This file is part of PLplot.
9 //
10 // PLplot is free software; you can redistribute it and/or modify
11 // it under the terms of the GNU Library General Public License as published
12 // by the Free Software Foundation; either version 2 of the License, or
13 // (at your option) any later version.
14 //
15 // PLplot is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU Library General Public License for more details.
19 //
20 // You should have received a copy of the GNU Library General Public License
21 // along with PLplot; if not, write to the Free Software
22 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 //
24 //
25 
26 #include "pldll.h"
27 #include "tclMatrix.h"
28 
29 int Matrix_Init( Tcl_Interp *interp )
30 {
31  // matrix -- matrix support command
32  Tcl_CreateCommand( interp, "matrix", (Tcl_CmdProc *) Tcl_MatrixCmd,
33  (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL );
34 
35  Tcl_PkgProvide( interp, "Matrix", "0.1" );
36  return TCL_OK;
37 }