~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to routines/tksci/TK_ScilabCallback.c

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright INRIA */
 
2
#include "../machine.h"
 
3
 
 
4
#include "TK_ScilabCallback.h"
 
5
#include "tksci.h"
 
6
 
 
7
 
 
8
int TK_EvalScilabCmd(clientData, theinterp, objc, argv)
 
9
     ClientData clientData;
 
10
     Tcl_Interp *theinterp;
 
11
     int objc;
 
12
     char **argv;
 
13
 
 
14
 
 
15
{
 
16
int stl1, stl2, myerr;
 
17
char *mycmd;
 
18
  /* printf("%s\n", argv[1]); */
 
19
 
 
20
StoreCommand(argv[1]);  
 
21
 
 
22
 
 
23
/* free(mycmd); */
 
24
Tcl_SetResult(theinterp,NULL,NULL);
 
25
 
 
26
return TCL_OK;
 
27
 
 
28
}