outitf.c: prepare for feedback in shared ngspice

This commit is contained in:
h_vogt 2013-03-23 17:40:37 +01:00
parent 704797f10a
commit 7755d02b4f
1 changed files with 7 additions and 0 deletions

View File

@ -60,6 +60,9 @@ static void freeRun(runDesc *run);
/*Output data to spice module saj*/
#ifdef TCL_MODULE
#include "ngspice/tclspice.h"
#elif defined (SHARED_MODULE)
extern int sh_ExecutePerLoop(void);
extern void sh_vecinit(runDesc *run);
#endif
/*saj*/
@ -360,6 +363,8 @@ beginPlot(JOB *analysisPtr, CKTcircuit *circuitPtr, char *cktName, char *analNam
/*Start BLT, initilises the blt vectors saj*/
#ifdef TCL_MODULE
blt_init(run);
#elif defined(SHARED_MODULE)
sh_vecinit(run);
#endif
return (OK);
@ -613,6 +618,8 @@ OUTpData(runDesc *plotPtr, IFvalue *refValue, IFvalue *valuePtr)
#ifdef TCL_MODULE
Tcl_ExecutePerLoop();
#elif defined (SHARED_MODULE)
sh_ExecutePerLoop();
#endif
return (OK);