Debian Codegraph @

pTk/mTk/tixUnix/tixUnixSam.c

raw symbols SCIP
1
2 /* $Id: tixUnixSam.c,v 1.2 2000/11/22 07:55:24 idiscovery Exp $ */
3
4 /*
5 * tixUnixSam.c --
6 *
7 * Initializes embedded Tix for Tix version 8.1.
8 *
9 */
10
11 #include "tixPort.h"
12 #include "tixInt.h"
13
14 #include "tixSamLib.c"
15
16 int SamTix_Init _ANSI_ARGS_((Tcl_Interp *interp));
17
18 int
19 Tixsam_Init(interp)
20 Tcl_Interp *interp; /* Interpreter to initialize. */
21 {
22 Tcl_Interp * Et_Interp = interp;
23
24 if (TixInitSam(interp) != TCL_OK ){
25 return TCL_ERROR;
26 }
27 if (LoadScripts(interp) != TCL_OK ){
28 return TCL_ERROR;
29 }
30 if (Tcl_GlobalEval(interp, "__tixInit") != TCL_OK) {
31 return TCL_ERROR;
32 }
33
34 return TCL_OK;
35 }
36
37 int
38 Tixsam_SafeInit(interp)
39 Tcl_Interp *interp; /* Interpreter to initialize. */
40 {
41 return Tixsam_Init(interp);
42 }