use GENmodel*, instead of void*

This commit is contained in:
rlar 2010-08-10 18:11:21 +00:00
parent 547a8fc7f5
commit 9e07ef2d67
5 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2010-08-10 Robert Larice
* src/include/cktdefs.h ,
* src/include/ifsim.h ,
* src/spicelib/analysis/ckt.h ,
* src/spicelib/analysis/cktdltm.c :
use GENmodel*, instead of void*
2010-08-10 Robert Larice
* src/maths/ni/niniter.c' :
drop (SMPmatrix*) casts, which are no longer necessary

View File

@ -287,7 +287,7 @@ extern int CKTdelTask(CKTcircuit *, void *);
extern int CKTdestroy(CKTcircuit *);
extern int CKTdltAnal(void *, void *, void *);
extern int CKTdltInst(CKTcircuit *, void *);
extern int CKTdltMod(CKTcircuit *, void *);
extern int CKTdltMod(CKTcircuit *, GENmodel *);
extern int CKTdltNNum(CKTcircuit *, int);
extern int CKTdltNod(CKTcircuit *, void *);
extern int CKTdoJob(CKTcircuit *, int , void *);

View File

@ -383,7 +383,7 @@ struct IFsimulator {
/* ask a questions about a model */
int (*findModel) (CKTcircuit *, int *, GENmodel **, IFuid);
/* find a specific model */
int (*deleteModel) (CKTcircuit *, void *);
int (*deleteModel) (CKTcircuit *, GENmodel *);
/* delete a model from the circuit*/
int (*newTask) (CKTcircuit *, void **, IFuid, void **); /*CDHW*/

View File

@ -30,7 +30,7 @@ int CKTdelTask( CKTcircuit *, void *);
int CKTdestroy( CKTcircuit *);
int CKTdltAnal( void *, void *, void *);
int CKTdltInst( CKTcircuit *, void *);
int CKTdltMod( CKTcircuit *, void *);
int CKTdltMod( CKTcircuit *, GENmodel *);
int CKTdltNod( CKTcircuit *, void *);
int CKTdoJob( CKTcircuit *, int , void *);
void CKTdump( CKTcircuit *, double, void *);

View File

@ -16,10 +16,10 @@ Author: 1985 Thomas L. Quarles
/* ARGSUSED */
int
CKTdltMod(CKTcircuit *cktp, void *modPtr)
CKTdltMod(CKTcircuit *cktp, GENmodel *modPtr)
{
CKTcircuit *ckt = /* fixme, drop that */ cktp;
GENmodel *m = (GENmodel *) modPtr, *mod, **prevp;
GENmodel *m = /* fixme, drop that */ modPtr, *mod, **prevp;
GENinstance *h, *next_i;
int error;