Browse Source

use GENmodel*, instead of void*

pre-master-46
rlar 16 years ago
parent
commit
9e07ef2d67
  1. 7
      ChangeLog
  2. 2
      src/include/cktdefs.h
  3. 2
      src/include/ifsim.h
  4. 2
      src/spicelib/analysis/ckt.h
  5. 4
      src/spicelib/analysis/cktdltm.c

7
ChangeLog

@ -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

2
src/include/cktdefs.h

@ -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 *);

2
src/include/ifsim.h

@ -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*/

2
src/spicelib/analysis/ckt.h

@ -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 *);

4
src/spicelib/analysis/cktdltm.c

@ -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;

Loading…
Cancel
Save