mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-04 11:09:28 +02:00
Define the members of the struct in the correct sequence.
This commit is contained in:
@@ -107,6 +107,9 @@ typedef struct SPICEdev {
|
||||
/* noise routine */
|
||||
int (*DEVsoaCheck)(CKTcircuit*,GENmodel*);
|
||||
/* subroutine to call on soa check */
|
||||
int *DEVinstSize; /* size of an instance */
|
||||
int *DEVmodSize; /* size of a model */
|
||||
|
||||
#ifdef CIDER
|
||||
void (*DEVdump)(GENmodel *, CKTcircuit *);
|
||||
void (*DEVacct)(GENmodel *, CKTcircuit *, FILE *);
|
||||
@@ -114,8 +117,6 @@ typedef struct SPICEdev {
|
||||
* now used only by cider numerical devices
|
||||
*/
|
||||
#endif
|
||||
int *DEVinstSize; /* size of an instance */
|
||||
int *DEVmodSize; /* size of a model */
|
||||
|
||||
#ifdef KLU
|
||||
int (*DEVbindCSC)(GENmodel *, CKTcircuit *);
|
||||
|
||||
@@ -282,6 +282,8 @@ struct IFdevice {
|
||||
int *numModelParms; /* number 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 */
|
||||
/* by new parser */
|
||||
#ifdef XSPICE
|
||||
@@ -298,8 +300,6 @@ struct IFdevice {
|
||||
/* gtri - end - wbk - 10/11/90 */
|
||||
#endif
|
||||
|
||||
int flags; /* DEV_ */
|
||||
|
||||
#ifdef OSDI
|
||||
const void *registry_entry;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user