typedefs for JOB and TSKtask into "typedefs.h"

This commit is contained in:
rlar 2010-08-15 17:54:33 +00:00
parent e1a5526381
commit 73a80756d4
4 changed files with 15 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2010-08-15 Robert Larice
* src/include/jobdefs.h ,
* src/include/tskdefs.h ,
* src/include/typedefs.h :
typedefs for JOB and TSKtask into "typedefs.h"
2010-08-15 Robert Larice 2010-08-15 Robert Larice
* src/spicelib/parser/inp2dot.c : * src/spicelib/parser/inp2dot.c :
use the type CKTnode instead of void* use the type CKTnode instead of void*

View File

@ -7,14 +7,14 @@ Author: 1985 Thomas L. Quarles
#define JOBdef #define JOBdef
#include "typedefs.h"
#include "ifsim.h" #include "ifsim.h"
typedef struct sJOB{ struct JOB {
int JOBtype; /* type of job */ int JOBtype; /* type of job */
struct sJOB *JOBnextJob; /* next job in list */ struct JOB *JOBnextJob; /* next job in list */
IFuid JOBname; /* name of this job */ IFuid JOBname; /* name of this job */
};
} JOB;
#define NODOMAIN 0 #define NODOMAIN 0
#define TIMEDOMAIN 1 #define TIMEDOMAIN 1

View File

@ -9,9 +9,10 @@ Modified: 2000 AlansFixes
#define TSK #define TSK
#include "typedefs.h"
#include "jobdefs.h" #include "jobdefs.h"
typedef struct { struct TSKtask {
JOB taskOptions; /* job structure at the front to hold options */ JOB taskOptions; /* job structure at the front to hold options */
JOB *jobs; JOB *jobs;
char *TSKname; char *TSKname;
@ -64,7 +65,6 @@ typedef struct {
unsigned int TSKnodeDamping:1; /* flag for node damping */ unsigned int TSKnodeDamping:1; /* flag for node damping */
double TSKabsDv; /* abs limit for iter-iter voltage change */ double TSKabsDv; /* abs limit for iter-iter voltage change */
double TSKrelDv; /* rel limit for iter-iter voltage change */ double TSKrelDv; /* rel limit for iter-iter voltage change */
};
}TSKtask;
#endif /*TSK*/ #endif /*TSK*/

View File

@ -41,5 +41,7 @@ typedef struct PZAN PZAN;
typedef struct SENstruct SENstruct; typedef struct SENstruct SENstruct;
typedef struct TSKtask TSKtask;
typedef struct JOB JOB;
#endif #endif