OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [insight/] [tix/] [unix/] [tixUnixSam.c] - Rev 1782

Compare with Previous | Blame | View Log

/*
 * eixInit41.c --
 *
 *	Initializes embedded Tix for Tix version 4.1.
 *
 */
 
#include <tixPort.h>
#include <tixInt.h>
 
#include "tixSamLib.c"
 
int		SamTix_Init _ANSI_ARGS_((Tcl_Interp *interp));
 
int
Tixsam_Init(interp)
    Tcl_Interp *interp;		/* Interpreter to initialize. */
{
    Tcl_Interp * Et_Interp = interp;
 
    if (TixInitSam(interp) != TCL_OK ){
	return TCL_ERROR;
    }
    if (LoadScripts(interp) != TCL_OK ){
	return TCL_ERROR;
    }
    if (Tcl_GlobalEval(interp, "__tixInit") != TCL_OK) {
	return TCL_ERROR;
    }
 
    return TCL_OK;
}
 
int
Tixsam_SafeInit(interp)
    Tcl_Interp *interp;		/* Interpreter to initialize. */
{
    return Tixsam_Init(interp);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.