2004-07-21 Stefan Jones <stefan.jones@multigig.com>
* src/tclspice.c: add getplot() command
This commit is contained in:
parent
fd4614a8d9
commit
f2faaef81d
|
|
@ -1,3 +1,8 @@
|
|||
2004-07-21 Stefan Jones <stefan.jones@multigig.com>
|
||||
|
||||
* src/tclspice.c:
|
||||
add getplot() command
|
||||
|
||||
2004-07-20 Stefan Jones <stefan.jones@multigig.com>
|
||||
|
||||
* src/tclspice.c:
|
||||
|
|
|
|||
|
|
@ -922,6 +922,12 @@ static int plot_getvector TCL_CMDPROCARGS(clientData,interp,argc,argv) {
|
|||
return TCL_OK;
|
||||
}
|
||||
|
||||
static int plot_getplot TCL_CMDPROCARGS(clientData,interp,argc,argv) {
|
||||
if(plot_cur) {
|
||||
Tcl_SetObjResult(interp,Tcl_NewStringObj(plot_cur->pl_typename,-1));
|
||||
}
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
/*******************************************/
|
||||
/* Misc functions */
|
||||
|
|
@ -2063,6 +2069,7 @@ bot:
|
|||
Tcl_CreateCommand(interp, TCLSPICE_prefix "plot_nvars", plot_nvars, (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
|
||||
Tcl_CreateCommand(interp, TCLSPICE_prefix "plot_defaultscale", plot_defaultscale, (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
|
||||
Tcl_CreateCommand(interp, TCLSPICE_prefix "plot_getvector", plot_getvector, (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
|
||||
Tcl_CreateCommand(interp, TCLSPICE_prefix "getplot", plot_getplot, (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
|
||||
|
||||
Tcl_CreateCommand(interp, TCLSPICE_prefix "registerTrigger", registerTrigger, (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
|
||||
Tcl_CreateCommand(interp, TCLSPICE_prefix "registerTriggerCallback", registerTriggerCallback, (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue