Jspice3
cpstd.h File Reference
#include "misc.h"
Include dependency graph for cpstd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  wordlist
 
struct  _complex
 
struct  variable
 

Macros

#define realpart(cval)   ((struct _complex *) (cval))->cx_real
 
#define imagpart(cval)   ((struct _complex *) (cval))->cx_imag
 
#define va_bool   va_V.vV_bool
 
#define va_num   va_V.vV_num
 
#define va_real   va_V.vV_real
 
#define va_string   va_V.vV_string
 
#define va_vlist   va_V.vV_list
 
#define VT_BOOL   1
 
#define VT_NUM   2
 
#define VT_REAL   3
 
#define VT_STRING   4
 
#define VT_LIST   5
 

Typedefs

typedef int bool
 
typedef struct wordlist wordlist
 
typedef struct _complex complex
 

Functions

void fatal ()
 
int wl_length ()
 
void wl_free ()
 
wordlistwl_copy ()
 
wordlistwl_splice ()
 
void wl_print ()
 
wordlistwl_build ()
 
char ** wl_mkvec ()
 
wordlistwl_append ()
 
wordlistwl_reverse ()
 
char * wl_flatten ()
 
wordlistwl_nthelem ()
 
void wl_sort ()
 
wordlistwl_range ()
 

Variables

int cp_numdgt
 

Macro Definition Documentation

#define imagpart (   cval)    ((struct _complex *) (cval))->cx_imag

Definition at line 36 of file cpstd.h.

#define realpart (   cval)    ((struct _complex *) (cval))->cx_real

Definition at line 35 of file cpstd.h.

#define va_bool   va_V.vV_bool

Definition at line 54 of file cpstd.h.

#define va_num   va_V.vV_num

Definition at line 55 of file cpstd.h.

#define va_real   va_V.vV_real

Definition at line 56 of file cpstd.h.

#define va_string   va_V.vV_string

Definition at line 57 of file cpstd.h.

#define va_vlist   va_V.vV_list

Definition at line 58 of file cpstd.h.

#define VT_BOOL   1

Definition at line 60 of file cpstd.h.

#define VT_LIST   5

Definition at line 64 of file cpstd.h.

#define VT_NUM   2

Definition at line 61 of file cpstd.h.

#define VT_REAL   3

Definition at line 62 of file cpstd.h.

#define VT_STRING   4

Definition at line 63 of file cpstd.h.

Typedef Documentation

typedef int bool

Definition at line 16 of file cpstd.h.

typedef struct _complex complex

Definition at line 33 of file cpstd.h.

typedef struct wordlist wordlist

Definition at line 26 of file cpstd.h.

Function Documentation

void fatal ( )

Definition at line 174 of file help.c.

176 {
177  fprintf(stderr, "fatal error\n");
178  exit(1);
179 }
wordlist* wl_append ( )
wordlist* wl_build ( )
wordlist* wl_copy ( )
char* wl_flatten ( )
void wl_free ( )
int wl_length ( )
char** wl_mkvec ( )
wordlist* wl_nthelem ( )
void wl_print ( )
wordlist* wl_range ( )
wordlist* wl_reverse ( )
void wl_sort ( )
wordlist* wl_splice ( )

Variable Documentation

int cp_numdgt

Definition at line 15 of file printnum.c.