Define the members of the struct in the correct sequence.
This commit is contained in:
parent
cac87d9dd0
commit
ce8bce7947
|
|
@ -107,6 +107,9 @@ typedef struct SPICEdev {
|
||||||
/* noise routine */
|
/* noise routine */
|
||||||
int (*DEVsoaCheck)(CKTcircuit*,GENmodel*);
|
int (*DEVsoaCheck)(CKTcircuit*,GENmodel*);
|
||||||
/* subroutine to call on soa check */
|
/* subroutine to call on soa check */
|
||||||
|
int *DEVinstSize; /* size of an instance */
|
||||||
|
int *DEVmodSize; /* size of a model */
|
||||||
|
|
||||||
#ifdef CIDER
|
#ifdef CIDER
|
||||||
void (*DEVdump)(GENmodel *, CKTcircuit *);
|
void (*DEVdump)(GENmodel *, CKTcircuit *);
|
||||||
void (*DEVacct)(GENmodel *, CKTcircuit *, FILE *);
|
void (*DEVacct)(GENmodel *, CKTcircuit *, FILE *);
|
||||||
|
|
@ -114,8 +117,6 @@ typedef struct SPICEdev {
|
||||||
* now used only by cider numerical devices
|
* now used only by cider numerical devices
|
||||||
*/
|
*/
|
||||||
#endif
|
#endif
|
||||||
int *DEVinstSize; /* size of an instance */
|
|
||||||
int *DEVmodSize; /* size of a model */
|
|
||||||
|
|
||||||
#ifdef KLU
|
#ifdef KLU
|
||||||
int (*DEVbindCSC)(GENmodel *, CKTcircuit *);
|
int (*DEVbindCSC)(GENmodel *, CKTcircuit *);
|
||||||
|
|
|
||||||
|
|
@ -282,6 +282,8 @@ struct IFdevice {
|
||||||
int *numModelParms; /* number of model parameter descriptors */
|
int *numModelParms; /* number of model parameter descriptors */
|
||||||
IFparm *modelParms; /* array of model parameter descriptors */
|
IFparm *modelParms; /* array of model parameter descriptors */
|
||||||
|
|
||||||
|
int flags; /* DEV_ */
|
||||||
|
|
||||||
/* gtri - modify - wbk - 10/11/90 - add entries to hold data required */
|
/* gtri - modify - wbk - 10/11/90 - add entries to hold data required */
|
||||||
/* by new parser */
|
/* by new parser */
|
||||||
#ifdef XSPICE
|
#ifdef XSPICE
|
||||||
|
|
@ -298,8 +300,6 @@ struct IFdevice {
|
||||||
/* gtri - end - wbk - 10/11/90 */
|
/* gtri - end - wbk - 10/11/90 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int flags; /* DEV_ */
|
|
||||||
|
|
||||||
#ifdef OSDI
|
#ifdef OSDI
|
||||||
const void *registry_entry;
|
const void *registry_entry;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue