stack-def.h

Go to the documentation of this file.
00001 /* Copyright INRIA */
00002 
00003 #ifndef STACK_DEF 
00004 #define STACK_DEF 
00005 
00006 #include "machine.h"
00007 
00008 #if _LCC_ & FORDLL 
00009   #define IMPORT __declspec (dllimport)
00010 #else
00011  #ifdef FORDLL 
00012    #define IMPORT extern  __declspec (dllimport)
00013  #else 
00014    #define IMPORT extern
00015  #endif
00016 #endif
00017 
00018 #define csiz 63  
00019 #define bsiz 4096  
00020 #define isizt 10000
00021 #define psiz 4096  
00022 #define nsiz 6  
00023 #define lsiz 65536
00024 #define nlgh nsiz*4  
00025 #define vsiz 2 
00026 #define intersiz 1024
00027 #define maxdb 100
00028 #define maxbpt 1000
00029 
00030 typedef struct 
00031 {
00032  double Stk[vsiz];
00033 } STACK_struct;
00034 
00035 IMPORT STACK_struct C2F(stack);
00036 
00037 typedef struct 
00038 {
00039  int bot, top, idstk[nsiz*isizt], lstk[isizt], leps,bbot, bot0, infstk[isizt], gbot, gtop, isiz;
00040 } VSTK_struct;
00041 
00042 IMPORT VSTK_struct C2F(vstk);
00043 
00044 typedef struct 
00045 {
00046  int ids[nsiz*psiz], pstk[psiz], rstk[psiz], pt, niv, macr, paus, icall, krec;
00047 } RECU_struct;
00048 
00049 IMPORT RECU_struct C2F(recu);
00050 
00051 typedef struct 
00052 {
00053  int ddt, err, lct[8], lin[lsiz], lpt[6], hio, rio, wio, rte, wte;
00054 } IOP_struct;
00055 
00056 IMPORT IOP_struct C2F(iop);
00057 
00058 typedef struct 
00059 {
00060  int err1, err2, errct, toperr, errpt, ieee ,errcatch;
00061 } ERRGST_struct; 
00062 
00063 IMPORT ERRGST_struct C2F(errgst);
00064 
00065 typedef struct 
00066 {
00067  int sym, syn[nsiz], char1, fin, fun, lhs, rhs, ran[2], comp[3];
00068 } COM_struct;
00069 
00070 IMPORT COM_struct C2F(com);
00071 
00072 typedef struct 
00073 {
00074  int lbot, ie, is, ipal, nbarg, ladr[intersiz];
00075 } ADRE_struct;
00076 
00077 IMPORT ADRE_struct C2F(adre);
00078 
00079 typedef struct 
00080 {
00081   int nbvars, iwhere[intersiz], nbrows[intersiz], nbcols[intersiz], itflag[intersiz], ntypes[intersiz], lad[intersiz],ladc[intersiz],lhsvar[intersiz];
00082 } INTERSCI_struct;
00083 
00084 IMPORT INTERSCI_struct C2F(intersci);
00085 
00086 typedef struct
00087 {
00088   char alfa[csiz], alfb[csiz], buf[bsiz];
00089 } CHA1_struct;
00090 
00091 IMPORT CHA1_struct C2F(cha1);
00092 
00093 typedef struct 
00094 {
00095   int wmac, lcntr, nmacs, macnms[nsiz*maxdb], lgptrs[maxdb+1], bptlg[maxbpt];
00096 } DBG_struct;
00097 
00098 IMPORT DBG_struct C2F(dbg);
00099 
00100 typedef struct 
00101 {
00102   int mmode;
00103 } MTLBC_struct;
00104 
00105 IMPORT MTLBC_struct C2F(mtlbc);
00106 
00107 typedef struct {
00108         integer iero;
00109 } IERODE_struct;
00110 
00111 IMPORT IERODE_struct C2F(ierode);
00112 
00113 typedef struct {
00114         double rownr3[2], t0, tlast, toutc;
00115         integer lg0, lg1, lgx, iownr3[2], irfnd, itaskc, ngc, nge;
00116 } LSR001_struct;
00117 
00118 IMPORT LSR001_struct C2F(lsr001);
00119 
00120 typedef struct {
00121         double tret, rowns[209], ccmax, el0, h__, hmin, hmxi, hu, rc, tn,uround;
00122         integer illin, init, lyh, lewt, lacor, lsavf, lwm, liwm, mxstep, mxhnil, 
00123                 nhnil, ntrep, nslast, nyh, iowns[6], icf, ierpj, iersl, jcur, 
00124                 jstart, kflag, l, meth, miter, maxord, maxcor, msbp, mxncf, n, nq,
00125                 nst, nfe, nje, nqu;
00126 } LS0001_struct;
00127 
00128 IMPORT LS0001_struct C2F(ls0001);
00129 
00130 
00131 typedef struct {
00132         double tsw, rowns2[20], pdnorm;
00133         integer insufr, insufi, ixpr, iowns2[2], jtyp, mused, mxordn, mxords;
00134 } LSA001_struct;
00135 
00136 IMPORT LSA001_struct C2F(lsa001);
00137 
00138 
00139 
00140 
00141 #endif 

Generated on Sun Mar 4 15:03:45 2007 for Scilab [trunk] by  doxygen 1.5.1