intersci.h File Reference

#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>

Include dependency graph for intersci.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  var
struct  basfun
struct  forsub

Defines

#define VERSION   "2.2"
#define DATE   "September 2006"
#define MAXARG   50
#define MAXCALL   2000
#define MAXEL   50
#define MAXLINE   1000
#define MAXNAM   128
#define MAXVAR   200
#define TESTLISTELEMENTS   1
#define MAXFUN   99
#define CHAR   1
#define INT   2
#define DOUBLE   3
#define REAL   4
#define EXTERNAL   5
#define CSTRINGV   6
#define LOGICAL   7
#define MPOINTER   8
#define PREDEF   9
#define SMPOINTER   9
#define LPOINTER   10
#define BPOINTER   11
#define OPOINTER   12
#define DEC_CHAR   1
#define DEC_INT   2
#define DEC_DOUBLE   3
#define DEC_REAL   4
#define DEC_LOGICAL   5
#define DEC_DATA   6
#define COLUMN   1
#define LIST   2
#define TLIST   3
#define MATRIX   4
#define POLYNOM   5
#define ROW   6
#define SCALAR   7
#define SEQUENCE   8
#define STRING   9
#define WORK   10
#define EMPTY   11
#define ANY   12
#define VECTOR   13
#define STRINGMAT   14
#define SCIMPOINTER   15
#define IMATRIX   16
#define SCISMPOINTER   17
#define SCILPOINTER   18
#define BMATRIX   19
#define SCIBPOINTER   20
#define SCIOPOINTER   21
#define SPARSE   22
#define NAME   1
#define VALUE   2
#define __PARAMS(paramlist)   ()

Typedefs

typedef int IVAR
typedef var VAR
typedef varVARPTR
typedef basfun BASFUN
typedef basfunBASFUNPTR
typedef forsub FORSUB
typedef forsubFORSUBPTR

Functions

VARPTR VarAlloc ()
BASFUNPTR BasfunAlloc ()
FORSUBPTR ForsubAlloc ()
void WriteInfoCode __PARAMS ((FILE *f))
int GetNumberInScilabCall __PARAMS ((int ivar))
char *SGetSciType __PARAMS ((int type))
void AddForName __PARAMS ((IVAR ivar, char *name))
void Copyright __PARAMS ((void))
char *Forname2Int __PARAMS ((char *str))
void GenFundef __PARAMS ((char *file, int interf))
int GetBasType __PARAMS ((char *sname))
int GetForType __PARAMS ((char *type))
IVAR GetExistVar __PARAMS ((char *name))
IVAR GetVar __PARAMS ((char *name, int p))
void OptVar __PARAMS (())
int ParseLine __PARAMS ((char *s, char **words))
int ReadListElement __PARAMS ((FILE *f, char *varlistname, IVAR iivar, int nel))
void ReadListFile __PARAMS ((char *listname, char *varlistname, IVAR ivar))
void ISCIReadFile __PARAMS ((char *file))
void WriteArgCheck __PARAMS ((FILE *f, int i))
void WriteCallRest __PARAMS ((FILE *f, IVAR ivar, int farg, char *call))
void WriteCallConvertion __PARAMS ((FILE *f, IVAR ivar, char *farg, char *barg, char *call))
void WriteExternalVariableOutput __PARAMS ((FILE *f, VARPTR var, int farg, int insidelist, int nel))
void WriteHeader __PARAMS ((FILE *f, char *fname0, char *fname))
void WriteMainHeader __PARAMS ((FILE *f, char *fname))
void WriteVariable __PARAMS ((FILE *f, VARPTR var, IVAR ivar, int insidelist, int nel))
void WriteVariableOutput __PARAMS ((FILE *f, VARPTR var, int barg, int farg, int convert, int insidelist, int nel))
void WriteMain __PARAMS ((FILE *f, char *file))
void FCprintf __PARAMS ((FILE *, char *fmt,...))
void Fprintf __PARAMS ((FILE *, int, char *format,...))
void white __PARAMS ((FILE *f, int ind))
void AddDeclare __PARAMS ((int type, char *declaration))
void WriteCallRestCheck __PARAMS ((FILE *f, VARPTR var, int farg, char *name, int iel, int flag))
void Check __PARAMS ((FILE *f, char *str, VARPTR var, int i1, int nel))
void OptvarGetSize __PARAMS ((char *optvar, char *size, char *data))

Variables

VARPTR variables [MAXVAR]
int nVariable
BASFUNPTR basfun
FORSUBPTR forsub
int nFun
int maxOpt
char * funNames [MAXFUN]


Define Documentation

#define __PARAMS ( paramlist   )     ()

functions

Definition at line 158 of file intersci.h.

#define ANY   12

Definition at line 63 of file intersci.h.

#define BMATRIX   19

Definition at line 70 of file intersci.h.

#define BPOINTER   11

Definition at line 38 of file intersci.h.

#define CHAR   1

Definition at line 27 of file intersci.h.

#define COLUMN   1

Definition at line 52 of file intersci.h.

#define CSTRINGV   6

Definition at line 32 of file intersci.h.

#define DATE   "September 2006"

Definition at line 3 of file intersci.h.

#define DEC_CHAR   1

Definition at line 43 of file intersci.h.

#define DEC_DATA   6

Definition at line 48 of file intersci.h.

#define DEC_DOUBLE   3

Definition at line 45 of file intersci.h.

#define DEC_INT   2

Definition at line 44 of file intersci.h.

#define DEC_LOGICAL   5

Definition at line 47 of file intersci.h.

#define DEC_REAL   4

Definition at line 46 of file intersci.h.

#define DOUBLE   3

Definition at line 29 of file intersci.h.

#define EMPTY   11

Definition at line 62 of file intersci.h.

#define EXTERNAL   5

Definition at line 31 of file intersci.h.

#define IMATRIX   16

Definition at line 67 of file intersci.h.

#define INT   2

Definition at line 28 of file intersci.h.

#define LIST   2

Definition at line 53 of file intersci.h.

#define LOGICAL   7

Definition at line 33 of file intersci.h.

#define LPOINTER   10

Definition at line 37 of file intersci.h.

#define MATRIX   4

Definition at line 55 of file intersci.h.

#define MAXARG   50

Definition at line 6 of file intersci.h.

#define MAXCALL   2000

Definition at line 7 of file intersci.h.

#define MAXEL   50

Definition at line 8 of file intersci.h.

#define MAXFUN   99

Definition at line 19 of file intersci.h.

#define MAXLINE   1000

Definition at line 9 of file intersci.h.

#define MAXNAM   128

Definition at line 10 of file intersci.h.

#define MAXVAR   200

Definition at line 11 of file intersci.h.

#define MPOINTER   8

Definition at line 34 of file intersci.h.

#define NAME   1

Definition at line 77 of file intersci.h.

#define OPOINTER   12

Definition at line 39 of file intersci.h.

#define POLYNOM   5

Definition at line 56 of file intersci.h.

#define PREDEF   9

Definition at line 35 of file intersci.h.

#define REAL   4

Definition at line 30 of file intersci.h.

#define ROW   6

Definition at line 57 of file intersci.h.

#define SCALAR   7

Definition at line 58 of file intersci.h.

#define SCIBPOINTER   20

Definition at line 71 of file intersci.h.

#define SCILPOINTER   18

Definition at line 69 of file intersci.h.

#define SCIMPOINTER   15

Definition at line 66 of file intersci.h.

#define SCIOPOINTER   21

Definition at line 72 of file intersci.h.

#define SCISMPOINTER   17

Definition at line 68 of file intersci.h.

#define SEQUENCE   8

Definition at line 59 of file intersci.h.

#define SMPOINTER   9

Definition at line 36 of file intersci.h.

#define SPARSE   22

Definition at line 73 of file intersci.h.

#define STRING   9

Definition at line 60 of file intersci.h.

#define STRINGMAT   14

Definition at line 65 of file intersci.h.

#define TESTLISTELEMENTS   1

Definition at line 14 of file intersci.h.

#define TLIST   3

Definition at line 54 of file intersci.h.

#define VALUE   2

Definition at line 78 of file intersci.h.

#define VECTOR   13

Definition at line 64 of file intersci.h.

#define VERSION   "2.2"

Definition at line 2 of file intersci.h.

#define WORK   10

Definition at line 61 of file intersci.h.


Typedef Documentation

typedef struct basfun BASFUN

typedef struct basfun * BASFUNPTR

typedef struct forsub FORSUB

typedef struct forsub * FORSUBPTR

typedef int IVAR

Definition at line 80 of file intersci.h.

typedef struct var VAR

typedef struct var * VARPTR


Function Documentation

void OptvarGetSize __PARAMS ( (char *optvar, char *size, char *data  ) 

void Check __PARAMS ( (FILE *f, char *str, VARPTR var, int i1, int nel  ) 

void WriteCallRestCheck __PARAMS ( (FILE *f, VARPTR var, int farg, char *name, int iel, int flag  ) 

void AddDeclare __PARAMS ( (int type, char *declaration)   ) 

void white __PARAMS ( (FILE *f, int ind  ) 

void Fprintf __PARAMS ( (FILE *, int, char *format,...)   ) 

void FCprintf __PARAMS ( (FILE *, char *fmt,...)   ) 

void WriteMain __PARAMS ( (FILE *f, char *file  ) 

void WriteVariableOutput __PARAMS ( (FILE *f, VARPTR var, int barg, int farg, int convert, int insidelist, int nel  ) 

void WriteVariable __PARAMS ( (FILE *f, VARPTR var, IVAR ivar, int insidelist, int nel  ) 

void WriteMainHeader __PARAMS ( (FILE *f, char *fname  ) 

void WriteHeader __PARAMS ( (FILE *f, char *fname0, char *fname  ) 

void WriteExternalVariableOutput __PARAMS ( (FILE *f, VARPTR var, int farg, int insidelist, int nel  ) 

void WriteCallConvertion __PARAMS ( (FILE *f, IVAR ivar, char *farg, char *barg, char *call)   ) 

void WriteCallRest __PARAMS ( (FILE *f, IVAR ivar, int farg, char *call)   ) 

void WriteArgCheck __PARAMS ( (FILE *f, int i  ) 

void ISCIReadFile __PARAMS ( (char *file  ) 

void ReadListFile __PARAMS ( (char *listname, char *varlistname, IVAR ivar)   ) 

int ReadListElement __PARAMS ( (FILE *f, char *varlistname, IVAR iivar, int nel  ) 

int ParseLine __PARAMS ( (char *s, char **words)   ) 

void OptVar __PARAMS ( ()   ) 

IVAR GetVar __PARAMS ( (char *name, int p  ) 

IVAR GetExistVar __PARAMS ( (char *name  ) 

int GetForType __PARAMS ( (char *type  ) 

int GetBasType __PARAMS ( (char *sname)   ) 

void GenFundef __PARAMS ( (char *file, int interf)   ) 

char* Forname2Int __PARAMS ( (char *str  ) 

void Copyright __PARAMS ( (void)   ) 

void AddForName __PARAMS ( (IVAR ivar, char *name  ) 

char* SGetSciType __PARAMS ( (int type  ) 

int GetNumberInScilabCall __PARAMS ( (int ivar)   ) 

void WriteInfoCode __PARAMS ( (FILE *f)   ) 

BASFUNPTR BasfunAlloc (  ) 

Definition at line 130 of file intersci.h.

References malloc().

00131 {
00132   return((BASFUNPTR) malloc(sizeof(BASFUN)));
00133 }

Here is the call graph for this function:

FORSUBPTR ForsubAlloc (  ) 

Definition at line 135 of file intersci.h.

References malloc().

00136 {
00137   return((FORSUBPTR) malloc(sizeof(FORSUB)));
00138 }

Here is the call graph for this function:

VARPTR VarAlloc (  ) 

Definition at line 125 of file intersci.h.

References malloc().

00126 {
00127   return((VARPTR) malloc(sizeof(VAR)));
00128 }

Here is the call graph for this function:


Variable Documentation

BASFUNPTR basfun

Definition at line 144 of file intersci.h.

FORSUBPTR forsub

Definition at line 145 of file intersci.h.

char* funNames[MAXFUN]

Definition at line 148 of file intersci.h.

int maxOpt

Definition at line 147 of file intersci.h.

Referenced by ReadFunction().

int nFun

Definition at line 146 of file intersci.h.

int nVariable

Definition at line 143 of file intersci.h.

VARPTR variables[MAXVAR]

Definition at line 142 of file intersci.h.


Generated on Sun Mar 4 16:08:41 2007 for Scilab [trunk] by  doxygen 1.5.1