Browse Source

struct runDesc forward declaration

rlar 14 years ago
parent
commit
5df8e981e5
  1. 5
      ChangeLog
  2. 8
      src/frontend/outitf.h
  3. 2
      src/include/ngspice/typedefs.h

5
ChangeLog

@ -1,3 +1,8 @@
2012-02-07 Robert Larice
* src/frontend/outitf.h ,
* src/include/ngspice/typedefs.h :
struct runDesc forward declaration
2012-02-07 Robert Larice 2012-02-07 Robert Larice
* src/frontend/rawfile.c : * src/frontend/rawfile.c :
comment/pinpoint a local misuse of a structure element comment/pinpoint a local misuse of a structure element

8
src/frontend/outitf.h

@ -5,6 +5,10 @@
#ifndef OUTITF_H_INCLUDED #ifndef OUTITF_H_INCLUDED
#define OUTITF_H_INCLUDED #define OUTITF_H_INCLUDED
#include "ngspice/typedefs.h"
typedef struct dataDesc { typedef struct dataDesc {
char *name; /* The name of the vector. */ char *name; /* The name of the vector. */
int type; /* The type. */ int type; /* The type. */
@ -20,7 +24,7 @@ typedef struct dataDesc {
struct dvec *vec; struct dvec *vec;
} dataDesc; } dataDesc;
typedef struct runDesc {
struct runDesc {
void *analysis; void *analysis;
CKTcircuit *circuit; CKTcircuit *circuit;
char *name; char *name;
@ -37,7 +41,7 @@ typedef struct runDesc {
int pointCount; int pointCount;
int isComplex; int isComplex;
int windowCount; int windowCount;
} runDesc;
};
int OUTpBeginPlot(CKTcircuit *circuitPtr, JOB *analysisPtr, int OUTpBeginPlot(CKTcircuit *circuitPtr, JOB *analysisPtr,
IFuid analName, IFuid analName,

2
src/include/ngspice/typedefs.h

@ -46,4 +46,6 @@ typedef struct JOB JOB;
typedef struct SPICEanalysis SPICEanalysis; typedef struct SPICEanalysis SPICEanalysis;
typedef struct runDesc runDesc;
#endif #endif
Loading…
Cancel
Save