unify #ifndef include wrapper
This commit is contained in:
parent
7ea52cb908
commit
c68d4b0e07
|
|
@ -2,8 +2,8 @@
|
|||
* MW. Include for spice
|
||||
*/
|
||||
|
||||
#ifndef DATADEF_INC
|
||||
#define DATADEF_INC
|
||||
#ifndef ngspice_DATADEF_H
|
||||
#define ngspice_DATADEF_H
|
||||
|
||||
/*
|
||||
* Program defaults
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __CONF_H
|
||||
#define __CONF_H
|
||||
#ifndef ngspice_CONF_H
|
||||
#define ngspice_CONF_H
|
||||
|
||||
extern char Spice_Version[];
|
||||
extern char Spice_Notice[];
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef ARG_H_INCLUDED
|
||||
#define ARG_H_INCLUDED
|
||||
#ifndef ngspice_ARG_H
|
||||
#define ngspice_ARG_H
|
||||
|
||||
char *prompt(FILE *fp);
|
||||
int countargs(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef ASPICE_H_INCLUDED
|
||||
#define ASPICE_H_INCLUDED
|
||||
#ifndef ngspice_ASPICE_H
|
||||
#define ngspice_ASPICE_H
|
||||
|
||||
|
||||
void com_aspice(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef BREAKP_H_INCLUDED
|
||||
#define BREAKP_H_INCLUDED
|
||||
#ifndef ngspice_BREAKP_H
|
||||
#define ngspice_BREAKP_H
|
||||
|
||||
void com_stop(wordlist *wl);
|
||||
void com_trce(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef BREAKP2_H_INCLUDED
|
||||
#define BREAKP2_H_INCLUDED
|
||||
#ifndef ngspice_BREAKP2_H
|
||||
#define ngspice_BREAKP2_H
|
||||
|
||||
|
||||
void com_save(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef CIRCUITS_H_INCLUDED
|
||||
#define CIRCUITS_H_INCLUDED
|
||||
#ifndef ngspice_CIRCUITS_H
|
||||
#define ngspice_CIRCUITS_H
|
||||
|
||||
|
||||
struct subcirc {
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef ALIAS_H_INCLUDED
|
||||
#define ALIAS_H_INCLUDED
|
||||
#ifndef ngspice_COM_ALIAS_H
|
||||
#define ngspice_COM_ALIAS_H
|
||||
|
||||
void com_alias(wordlist *wl);
|
||||
void com_unalias(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for com_chdir.c
|
||||
************/
|
||||
|
||||
#ifndef COM_CHDIR_H
|
||||
#define COM_CHDIR_H
|
||||
#ifndef ngspice_COM_CHDIR_H
|
||||
#define ngspice_COM_CHDIR_H
|
||||
|
||||
#include "ngspice/wordlist.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef ngspice_COM_DL_H
|
||||
#define ngspice_COM_DL_H 1
|
||||
#define ngspice_COM_DL_H
|
||||
|
||||
#ifdef XSPICE
|
||||
void com_codemodel(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for com_echo.c
|
||||
************/
|
||||
|
||||
#ifndef COM_ECHO_H
|
||||
#define COM_ECHO_H
|
||||
#ifndef ngspice_COM_ECHO_H
|
||||
#define ngspice_COM_ECHO_H
|
||||
|
||||
#include "ngspice/wordlist.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 2008 H. Vogt
|
||||
************/
|
||||
|
||||
#ifndef FFT_H_INCLUDED
|
||||
#define FFT_H_INCLUDED
|
||||
#ifndef ngspice_COM_FFT_H
|
||||
#define ngspice_COM_FFT_H
|
||||
|
||||
void com_fft(wordlist *wl);
|
||||
void com_psd(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for com_rehsh.c
|
||||
************/
|
||||
|
||||
#ifndef COM_REHASH_H
|
||||
#define COM_REHASH_H
|
||||
#ifndef ngspice_COM_REHASH_H
|
||||
#define ngspice_COM_REHASH_H
|
||||
|
||||
#include "ngspice/wordlist.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for com_shell.c
|
||||
************/
|
||||
|
||||
#ifndef COM_SHELL_H
|
||||
#define COM_SHELL_H
|
||||
#ifndef ngspice_COM_SHELL_H
|
||||
#define ngspice_COM_SHELL_H
|
||||
|
||||
void com_shell(wordlist *wl);
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for com_shift.c
|
||||
************/
|
||||
|
||||
#ifndef COM_SHIFT_H
|
||||
#define COM_SHIFT_H
|
||||
#ifndef ngspice_COM_SHIFT_H
|
||||
#define ngspice_COM_SHIFT_H
|
||||
|
||||
void com_shift(wordlist *wl);
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for com_unset.c
|
||||
************/
|
||||
|
||||
#ifndef COM_UNSET_H
|
||||
#define COM_UNSET_H
|
||||
#ifndef ngspice_COM_UNSET_H
|
||||
#define ngspice_COM_UNSET_H
|
||||
|
||||
#include "ngspice/wordlist.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for control.c
|
||||
**********/
|
||||
|
||||
#ifndef CONTROL_H
|
||||
#define CONTROL_H
|
||||
#ifndef ngspice_CONTROL_H
|
||||
#define ngspice_CONTROL_H
|
||||
|
||||
#include "ngspice/bool.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef CPITF_H_INCLUDED
|
||||
#define CPITF_H_INCLUDED
|
||||
#ifndef ngspice_CPITF_H
|
||||
#define ngspice_CPITF_H
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef DEFINE_H_INCLUDED
|
||||
#define DEFINE_H_INCLUDED
|
||||
#ifndef ngspice_DEFINE_H
|
||||
#define ngspice_DEFINE_H
|
||||
|
||||
void com_define(wordlist *wlist);
|
||||
void com_undefine(wordlist *wlist);
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
* Modified: 2000 AlansFixes
|
||||
************/
|
||||
|
||||
#ifndef DEVICE_H_INCLUDED
|
||||
#define DEVICE_H_INCLUDED
|
||||
#ifndef ngspice_DEVICE_H
|
||||
#define ngspice_DEVICE_H
|
||||
|
||||
#define LEFT_WIDTH 11
|
||||
#define DEV_WIDTH 21
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef DIMENS_H_INCLUDED
|
||||
#define DIMENS_H_INCLUDED
|
||||
#ifndef ngspice_DIMENS_H
|
||||
#define ngspice_DIMENS_H
|
||||
|
||||
void dimstring(int *data, int length, char *retstring);
|
||||
void indexstring(int *data, int length, char *retstring);
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
************/
|
||||
|
||||
/* See if we have been already included */
|
||||
#ifndef DISPLAY_H_INCLUDED
|
||||
#define DISPLAY_H_INCLUDED
|
||||
#ifndef ngspice_DISPLAY_H
|
||||
#define ngspice_DISPLAY_H
|
||||
|
||||
/* Include a bunch of other stuff to make display.h work */
|
||||
#include "ngspice/ftedev.h"
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef DOTCARDS_H_INCLUDED
|
||||
#define DOTCARDS_H_INCLUDED
|
||||
#ifndef ngspice_DOTCARDS_H
|
||||
#define ngspice_DOTCARDS_H
|
||||
|
||||
wordlist *gettoks(char *s);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef FOURIER_H_INCLUDED
|
||||
#define FOURIER_H_INCLUDED
|
||||
#ifndef ngspice_FOURIER_H
|
||||
#define ngspice_FOURIER_H
|
||||
|
||||
void com_fourier(wordlist *wl);
|
||||
int fourier(wordlist *wl, struct plot *current);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef GENS_H_INCLUDED
|
||||
#define GENS_H_INCLUDED
|
||||
#ifndef ngspice_GENS_H
|
||||
#define ngspice_GENS_H
|
||||
|
||||
#include "ngspice/dgen.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for hpgl.c
|
||||
************/
|
||||
|
||||
#ifndef HPGH_H
|
||||
#define HPGH_H
|
||||
#ifndef ngspice_HPGL_H
|
||||
#define ngspice_HPGL_H
|
||||
|
||||
disp_fn_Init_t GL_Init;
|
||||
disp_fn_NewViewport_t GL_NewViewport;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef INP_H_INCLUDED
|
||||
#define INP_H_INCLUDED
|
||||
#ifndef ngspice_INP_H
|
||||
#define ngspice_INP_H
|
||||
|
||||
void com_listing(wordlist *wl);
|
||||
void com_edit(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef INPCOM_H_INCLUDED
|
||||
#define INPCOM_H_INCLUDED
|
||||
#ifndef ngspice_INPCOM_H
|
||||
#define ngspice_INPCOM_H
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef INTERP_H_INCLUDED
|
||||
#define INTERP_H_INCLUDED
|
||||
#ifndef ngspice_INTERP_H
|
||||
#define ngspice_INTERP_H
|
||||
|
||||
void lincopy(struct dvec *ov, double *newscale, int newlen, struct dvec *oldscale);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef LINEAR_H_INCLUDED
|
||||
#define LINEAR_H_INCLUDED
|
||||
#ifndef ngspice_LINEAR_H
|
||||
#define ngspice_LINEAR_H
|
||||
|
||||
void com_linearize(wordlist *wl);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef MISCCOMS_H_INCLUDED
|
||||
#define MISCCOMS_H_INCLUDED
|
||||
#ifndef ngspice_MISCCOMS_H
|
||||
#define ngspice_MISCCOMS_H
|
||||
|
||||
void com_quit(wordlist *wl);
|
||||
void com_bug(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef MISCVARS_H_INCLUDED
|
||||
#define MISCVARS_H_INCLUDED
|
||||
#ifndef ngspice_MISCVARS_H
|
||||
#define ngspice_MISCVARS_H
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef MW_COMS_H_INCLUDED
|
||||
#define MW_COMS_H_INCLUDED
|
||||
#ifndef ngspice_MW_COMS_H
|
||||
#define ngspice_MW_COMS_H
|
||||
|
||||
void com_removecirc(wordlist *wl);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef NEWCOMS_H_INCLUDED
|
||||
#define NEWCOMS_H_INCLUDED
|
||||
#ifndef ngspice_NEWCOMS_H
|
||||
#define ngspice_NEWCOMS_H
|
||||
|
||||
void com_reshape(wordlist *wl);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* external interface to spice frontend subckt.c
|
||||
*/
|
||||
|
||||
#ifndef NUMPAIF_H
|
||||
#define NUMPAIF_H
|
||||
#ifndef ngspice_NUMPAIF_H
|
||||
#define ngspice_NUMPAIF_H
|
||||
|
||||
#define NUPADECKCOPY 0
|
||||
#define NUPASUBSTART 1
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef NUTINP_H_INCLUDED
|
||||
#define NUTINP_H_INCLUDED
|
||||
#ifndef ngspice_NUTINP_H
|
||||
#define ngspice_NUTINP_H
|
||||
|
||||
void nutinp_source(char *file);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef NUTMEGIF_H_INCLUDED
|
||||
#define NUTMEGIF_H_INCLUDED
|
||||
#ifndef ngspice_NUTMEGIF_H
|
||||
#define ngspice_NUTMEGIF_H
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef OPTIONS_H_INCLUDED
|
||||
#define OPTIONS_H_INCLUDED
|
||||
#ifndef ngspice_OPTIONS_H
|
||||
#define ngspice_OPTIONS_H
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef OUTITF_H_INCLUDED
|
||||
#define OUTITF_H_INCLUDED
|
||||
#ifndef ngspice_OUTITF_H
|
||||
#define ngspice_OUTITF_H
|
||||
|
||||
#include "ngspice/typedefs.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef BACKQ_H_INCLUDED
|
||||
#define BACKQ_H_INCLUDED
|
||||
#ifndef ngspice_BACKQ_H
|
||||
#define ngspice_BACKQ_H
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef COMPLETE_H_INCLUDED
|
||||
#define COMPLETE_H_INCLUDED
|
||||
#ifndef ngspice_COMPLETE_H
|
||||
#define ngspice_COMPLETE_H
|
||||
|
||||
/* The data structure for the commands is as follows: every node has a pointer
|
||||
* to its leftmost child, where the children of a node are those of which
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef CSHPAR_H_INCLUDED
|
||||
#define CSHPAR_H_INCLUDED
|
||||
#ifndef ngspice_CSHPAR_H
|
||||
#define ngspice_CSHPAR_H
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef GLOB_H_INCLUDED
|
||||
#define GLOB_H_INCLUDED
|
||||
#ifndef ngspice_GLOB_H
|
||||
#define ngspice_GLOB_H
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef INPUT_H_INCLUDED
|
||||
#define INPUT_H_INCLUDED
|
||||
#ifndef ngspice_INPUT_H
|
||||
#define ngspice_INPUT_H
|
||||
|
||||
|
||||
int input(FILE *fp);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef LEXICAL_H_INCLUDED
|
||||
#define LEXICAL_H_INCLUDED
|
||||
#ifndef ngspice_LEXICAL_H
|
||||
#define ngspice_LEXICAL_H
|
||||
|
||||
|
||||
int input(FILE *fp);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef NUMPARSE_H_INCLUDED
|
||||
#define NUMPARSE_H_INCLUDED
|
||||
#ifndef ngspice_NUMPARSE_H
|
||||
#define ngspice_NUMPARSE_H
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef UNIXCOM_H_INCLUDED
|
||||
#define UNIXCOM_H_INCLUDED
|
||||
#ifndef ngspice_UNIXCOM_H
|
||||
#define ngspice_UNIXCOM_H
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef CLIP_H_INCLUDED
|
||||
#define CLIP_H_INCLUDED
|
||||
#ifndef ngspice_CLIP_H
|
||||
#define ngspice_CLIP_H
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 2008 Stefano Pedretti
|
||||
************/
|
||||
|
||||
#ifndef GNUPLOT_H_INCLUDED
|
||||
#define GNUPLOT_H_INCLUDED
|
||||
#ifndef ngspice_GNUPLOT_H
|
||||
#define ngspice_GNUPLOT_H
|
||||
|
||||
void ft_gnuplot(double *xlims, double *ylims, char *filename, char *title,
|
||||
char *xlabel, char *ylabel, GRIDTYPE gridtype, PLOTTYPE plottype,
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef GRAF_H
|
||||
#define GRAF_H
|
||||
#ifndef ngspice_GRAF_H
|
||||
#define ngspice_GRAF_H
|
||||
|
||||
#include "ngspice/graph.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef GRAPHDB_H_INCLUDED
|
||||
#define GRAPHDB_H_INCLUDED
|
||||
#ifndef ngspice_GRAPHDB_H
|
||||
#define ngspice_GRAPHDB_H
|
||||
|
||||
int DestroyGraph(int id);
|
||||
void FreeGraphs(void);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef PLOT5_H_INCLUDED
|
||||
#define PLOT5_H_INCLUDED
|
||||
#ifndef ngspice_PLOT5_H
|
||||
#define ngspice_PLOT5_H
|
||||
|
||||
disp_fn_Init_t Plt5_Init;
|
||||
disp_fn_NewViewport_t Plt5_NewViewport;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef PLOTCURV_H_INCLUDED
|
||||
#define PLOTCURV_H_INCLUDED
|
||||
#ifndef ngspice_PLOTCURV_H
|
||||
#define ngspice_PLOTCURV_H
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef X11_H_INCLUDED
|
||||
#define X11_H_INCLUDED
|
||||
#ifndef ngspice_X11_H
|
||||
#define ngspice_X11_H
|
||||
|
||||
#ifndef X_DISPLAY_MISSING
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef XGRAPH_H_INCLUDED
|
||||
#define XGRAPH_H_INCLUDED
|
||||
#ifndef ngspice_XGRAPH_H
|
||||
#define ngspice_XGRAPH_H
|
||||
|
||||
void ft_xgraph(double *xlims, double *ylims, char *filename, char *title,
|
||||
char *xlabel, char *ylabel, GRIDTYPE gridtype, PLOTTYPE plottype,
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef POINTS_H_INCLUDED
|
||||
#define POINTS_H_INCLUDED
|
||||
#ifndef ngspice_POINTS_H
|
||||
#define ngspice_POINTS_H
|
||||
|
||||
double * ft_SMITHminmax(struct dvec *v, bool yval);
|
||||
int SMITH_tfm(double re, double im, double *x, double *y);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef POSTCOMS_H_INCLUDED
|
||||
#define POSTCOMS_H_INCLUDED
|
||||
#ifndef ngspice_POSTCOMS_H
|
||||
#define ngspice_POSTCOMS_H
|
||||
|
||||
void com_unlet(wordlist *wl);
|
||||
void com_load(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef POSTSC_H_INCLUDED
|
||||
#define POSTSC_H_INCLUDED
|
||||
#ifndef ngspice_POSTSC_H
|
||||
#define ngspice_POSTSC_H
|
||||
|
||||
disp_fn_Init_t PS_Init;
|
||||
disp_fn_NewViewport_t PS_NewViewport;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef QUOTE_H_INCLUDED
|
||||
#define QUOTE_H_INCLUDED
|
||||
#ifndef ngspice_QUOTE_H
|
||||
#define ngspice_QUOTE_H
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef RAWFILE_H_INCLUDED
|
||||
#define RAWFILE_H_INCLUDED
|
||||
#ifndef ngspice_RAWFILE_H
|
||||
#define ngspice_RAWFILE_H
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef RESOURCES_H_INCLUDED
|
||||
#define RESOURCES_H_INCLUDED
|
||||
#ifndef ngspice_RESOURCE_H
|
||||
#define ngspice_RESOURCE_H
|
||||
|
||||
void init_rlimits(void);
|
||||
void init_time(void);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef RUNCOMS_H_INCLUDED
|
||||
#define RUNCOMS_H_INCLUDED
|
||||
#ifndef ngspice_RUNCOMS_H
|
||||
#define ngspice_RUNCOMS_H
|
||||
|
||||
void com_scirc(wordlist *wl);
|
||||
void com_pz(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef RUNCOMS2_H_INCLUDED
|
||||
#define RUNCOMS2_H_INCLUDED
|
||||
#ifndef ngspice_RUNCOMS2_H
|
||||
#define ngspice_RUNCOMS2_H
|
||||
|
||||
void com_resume(wordlist *wl);
|
||||
void com_rset(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef SHYU_H_INCLUDED
|
||||
#define SHYU_H_INCLUDED
|
||||
#ifndef ngspice_SHYU_H
|
||||
#define ngspice_SHYU_H
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef SIGNAL_HANDLER_H_INCLUDED
|
||||
#define SIGNAL_HANDLER_H_INCLUDED
|
||||
#ifndef ngspice_SIGNAL_HANDLER_H
|
||||
#define ngspice_SIGNAL_HANDLER_H
|
||||
|
||||
RETSIGTYPE ft_sigintr(void);
|
||||
RETSIGTYPE sigfloat(int sig, int code);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef SPEC_H_INCLUDED
|
||||
#define SPEC_H_INCLUDED
|
||||
#ifndef ngspice_SPEC_H
|
||||
#define ngspice_SPEC_H
|
||||
|
||||
#ifdef HAS_WINDOWS
|
||||
extern void SetAnalyse(char *Analyse, int Percent);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef SPICEIF_H_INCLUDED
|
||||
#define SPICEIF_H_INCLUDED
|
||||
#ifndef ngspice_SPICEIF_H
|
||||
#define ngspice_SPICEIF_H
|
||||
|
||||
CKTcircuit * if_inpdeck(struct line *deck, INPtables **tab);
|
||||
int if_run(CKTcircuit *t, char *what, wordlist *args, INPtables *tab);
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for streams.c
|
||||
************/
|
||||
|
||||
#ifndef STREAMS_H
|
||||
#define STREAMS_H
|
||||
#ifndef ngspice_STREAMS_H
|
||||
#define ngspice_STREAMS_H
|
||||
|
||||
#include "ngspice/bool.h"
|
||||
#include "ngspice/wordlist.h"
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef SUBCKT_H_INCLUDED
|
||||
#define SUBCKT_H_INCLUDED
|
||||
#ifndef ngspice_SUBCKT_H
|
||||
#define ngspice_SUBCKT_H
|
||||
|
||||
struct line * inp_subcktexpand(struct line *deck);
|
||||
struct line * inp_deckcopy(struct line *deck);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef TYPESDEF_H_INCLUDED
|
||||
#define TYPESDEF_H_INCLUDED
|
||||
#ifndef ngspice_TYPESDEF_H
|
||||
#define ngspice_TYPESDEF_H
|
||||
|
||||
void com_dftype(wordlist *wl);
|
||||
void com_stype(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef VECTORS_H_INCLUDED
|
||||
#define VECTORS_H_INCLUDED
|
||||
#ifndef ngspice_VECTORS_H
|
||||
#define ngspice_VECTORS_H
|
||||
|
||||
#define vec_free(ptr) vec_free_x(ptr); ptr=NULL
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for windisp.c
|
||||
************/
|
||||
|
||||
#ifndef WINDISP_H
|
||||
#define WINDISP_H
|
||||
#ifndef ngspice_WINDISP_H
|
||||
#define ngspice_WINDISP_H
|
||||
|
||||
disp_fn_Init_t WIN_Init;
|
||||
disp_fn_NewViewport_t WIN_NewViewport;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Header file for winprint.c
|
||||
************/
|
||||
|
||||
#ifndef WINPRINT_H
|
||||
#define WINPRINT_H
|
||||
#ifndef ngspice_WINPRINT_H
|
||||
#define ngspice_WINPRINT_H
|
||||
|
||||
void WPRINT_PrintInit(HWND hwnd);
|
||||
BOOL CALLBACK WPRINT_Abort( HDC hdc, int iError);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
* 1999 E. Rouat
|
||||
************/
|
||||
|
||||
#ifndef WHERE_H_INCLUDED
|
||||
#define WHERE_H_INCLUDED
|
||||
#ifndef ngspice_WHERE_H
|
||||
#define ngspice_WHERE_H
|
||||
|
||||
void com_where(wordlist *wl);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ Copyright 1990 Regents of the University of California. All rights reserved.
|
|||
Author: 1985 Thomas L. Quarles
|
||||
**********/
|
||||
|
||||
#ifndef ACDEFS
|
||||
#define ACDEFS
|
||||
#ifndef ngspice_ACDEFS_H
|
||||
#define ngspice_ACDEFS_H
|
||||
|
||||
#include "ngspice/jobdefs.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ Authors : 1991 David Gates
|
|||
*/
|
||||
|
||||
|
||||
#ifndef BDRY_H
|
||||
#define BDRY_H
|
||||
#ifndef ngspice_BDRYDEFS_H
|
||||
#define ngspice_BDRYDEFS_H
|
||||
|
||||
/* Data Structures and Definitions for Device Simulation Cards */
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ Authors : 1991 David Gates
|
|||
* Version: 1b1
|
||||
*/
|
||||
|
||||
#ifndef CARDDEFS_H
|
||||
#define CARDDEFS_H
|
||||
#ifndef ngspice_CARDDEFS_H
|
||||
#define ngspice_CARDDEFS_H
|
||||
|
||||
/* Data Structures and Definitions for Device Simulation Cards */
|
||||
#include "ngspice/bdrydefs.h"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef ngspice_CLUSTER_H_
|
||||
#define ngspice_CLUSTER_H_
|
||||
#ifndef ngspice_CLUSTER_H
|
||||
#define ngspice_CLUSTER_H
|
||||
#include "ngspice/cktdefs.h"
|
||||
|
||||
/* Cluster definitions */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef CM_DEFINED
|
||||
#define CM_DEFINED
|
||||
#ifndef ngspice_CM_H
|
||||
#define ngspice_CM_H
|
||||
|
||||
/* ===========================================================================
|
||||
FILE CM.h
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef CMCONSTANTS_DEFINED
|
||||
#define CMCONSTANTS_DEFINED
|
||||
#ifndef ngspice_CMCONSTANTS_H
|
||||
#define ngspice_CMCONSTANTS_H
|
||||
|
||||
/* ===========================================================================
|
||||
FILE CMconstants.h
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef CMPROTO_DEFINED
|
||||
#define CMPROTO_DEFINED
|
||||
#ifndef ngspice_CMPROTO_H
|
||||
#define ngspice_CMPROTO_H
|
||||
|
||||
/* ===========================================================================
|
||||
FILE CMproto.h
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef CMTYPES_DEFINED
|
||||
#define CMTYPES_DEFINED
|
||||
#ifndef ngspice_CMTYPES_H
|
||||
#define ngspice_CMTYPES_H
|
||||
|
||||
/* ===========================================================================
|
||||
FILE CMtypes.h
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ Author: 1985 Thomas L. Quarles
|
|||
**********/
|
||||
/*
|
||||
*/
|
||||
#ifndef CONST_H
|
||||
#define CONST_H
|
||||
#ifndef ngspice_CONST_H
|
||||
#define ngspice_CONST_H
|
||||
|
||||
#define CHARGE (1.6021918e-19)
|
||||
#define CONSTCtoK (273.15)
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ Authors : 1991 David Gates
|
|||
* Version: 1b1
|
||||
*/
|
||||
|
||||
#ifndef CONT_H
|
||||
#define CONT_H
|
||||
#ifndef ngspice_CONTDEFS_H
|
||||
#define ngspice_CONTDEFS_H
|
||||
|
||||
/* Data Structures and Definitions for Device Simulation Cards */
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
|
|||
*/
|
||||
|
||||
/* Standard definitions */
|
||||
#ifndef CPDEFS
|
||||
#define CPDEFS
|
||||
#ifndef ngspice_CPDEFS_H
|
||||
#define ngspice_CPDEFS_H
|
||||
|
||||
#include "ngspice/cpstd.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ Modified: 2000 AlansFixes
|
|||
* Definitions for all external symbols in CP.
|
||||
*/
|
||||
|
||||
#ifndef CPEXTERN_H
|
||||
#define CPEXTERN_H
|
||||
#ifndef ngspice_CPEXTERN_H
|
||||
#define ngspice_CPEXTERN_H
|
||||
|
||||
#include "ngspice/wordlist.h"
|
||||
#include "ngspice/bool.h"
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group
|
|||
* wlist.c
|
||||
*/
|
||||
|
||||
#ifndef ngspice_CPSTD_H_
|
||||
#define ngspice_CPSTD_H_
|
||||
#ifndef ngspice_CPSTD_H
|
||||
#define ngspice_CPSTD_H
|
||||
|
||||
|
||||
#ifndef FILE
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifndef ngspice_DEFINES_H_
|
||||
#define ngspice_DEFINES_H_
|
||||
#ifndef ngspice_DEFINES_H
|
||||
#define ngspice_DEFINES_H
|
||||
|
||||
|
||||
#ifndef M_PI
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ Copyright 1990 Regents of the University of California. All rights reserved.
|
|||
Author: 1985 Thomas L. Quarles
|
||||
**********/
|
||||
|
||||
#ifndef DEV
|
||||
#define DEV
|
||||
#ifndef ngspice_DEVDEFS_H
|
||||
#define ngspice_DEVDEFS_H
|
||||
|
||||
#include "ngspice/optdefs.h"
|
||||
#include "ngspice/gendefs.h"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef DGEN_H
|
||||
#define DGEN_H
|
||||
#ifndef ngspice_DGEN_H
|
||||
#define ngspice_DGEN_H
|
||||
|
||||
typedef struct st_dgen dgen;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ Author: 1988 Jaijeet S Roychowdhury
|
|||
Modified: 2000 AlansFixes
|
||||
**********/
|
||||
|
||||
#ifndef DISTODEF
|
||||
#define DISTODEF
|
||||
#ifndef ngspice_DISTODEF_H
|
||||
#define ngspice_DISTODEF_H
|
||||
|
||||
#ifdef D_DBG_ALLTIMES
|
||||
#define D_DBG_BLOCKTIMES
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
(c)2000 Arpad Buermen
|
||||
*/
|
||||
|
||||
#ifndef ngspice__DLLITF_H
|
||||
#define ngspice__DLLITF_H
|
||||
#ifndef ngspice_DLLITF_H
|
||||
#define ngspice_DLLITF_H
|
||||
|
||||
#include "ngspice/mifproto.h"
|
||||
#include "ngspice/cmproto.h"
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ Authors : 1991 David Gates
|
|||
* Version: 1b1
|
||||
*/
|
||||
|
||||
#ifndef DOMN_H
|
||||
#define DOMN_H
|
||||
#ifndef ngspice_DOMNDEFS_H
|
||||
#define ngspice_DOMNDEFS_H
|
||||
|
||||
/* Data Structures and Definitions for Device Simulation Cards */
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ Authors : 1991 David Gates
|
|||
* Version: 1b1
|
||||
*/
|
||||
|
||||
#ifndef DOP_H
|
||||
#define DOP_H
|
||||
#ifndef ngspice_DOPDEFS_H
|
||||
#define ngspice_DOPDEFS_H
|
||||
|
||||
/* Data Structures and Definitions for Device Simulation Cards */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* dstring.h */
|
||||
|
||||
#ifndef DSTRING_H
|
||||
#define DSTRING_H
|
||||
#ifndef ngspice_DSTRING_H
|
||||
#define ngspice_DSTRING_H
|
||||
|
||||
/* -----------------------------------------------------------------
|
||||
* This structure is modified from Tcl. We do this to avoid a
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ Authors : 1991 David Gates
|
|||
* Version: 1b1
|
||||
*/
|
||||
|
||||
#ifndef ELCT_H
|
||||
#define ELCT_H
|
||||
#ifndef ngspice_ELCTDEFS_H
|
||||
#define ngspice_ELCTDEFS_H
|
||||
|
||||
/* Data Structures and Definitions for Device Simulation Cards */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef ENH_HEADER
|
||||
#define ENH_HEADER x
|
||||
#ifndef ngspice_ENH_H
|
||||
#define ngspice_ENH_H
|
||||
|
||||
/* ===========================================================================
|
||||
FILE ENH.h
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef EVT_HEADER
|
||||
#define EVT_HEADER x
|
||||
#ifndef ngspice_EVT_H
|
||||
#define ngspice_EVT_H
|
||||
|
||||
/* ===========================================================================
|
||||
FILE EVT.h
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef EVTPROTO_HEADER
|
||||
#define EVTPROTO_HEADER x
|
||||
#ifndef ngspice_EVTPROTO_H
|
||||
#define ngspice_EVTPROTO_H
|
||||
|
||||
/* ===========================================================================
|
||||
FILE EVTproto.h
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef EVTUDN_HEADER
|
||||
#define EVTUDN_HEADER x
|
||||
#ifndef ngspice_EVTUDN_H
|
||||
#define ngspice_EVTUDN_H
|
||||
|
||||
/* ===========================================================================
|
||||
FILE EVTudn.h
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue