/[cvs]/stack/stack.h
ViewVC logotype

Diff of /stack/stack.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by masse, Wed Mar 27 19:53:01 2002 UTC revision 1.21 by teddy, Sat Mar 30 02:31:24 2002 UTC
# Line 36  typedef struct { Line 36  typedef struct {
36      string,      string,
37      func,                       /* Function pointer */      func,                       /* Function pointer */
38      symb,                       /* Symbol */      symb,                       /* Symbol */
39      tcons                       /* A pair of two values */      tcons,                      /* A pair of two values */
40        port                        /* An I/O port */
41    } type:4;                     /* Type of stack element */    } type:4;                     /* Type of stack element */
42    
43    union {    union {
# Line 51  typedef struct { Line 52  typedef struct {
52      void *ptr;                  /* Pointer to the content */      void *ptr;                  /* Pointer to the content */
53      struct cons_struct *c;      /* ...or a pointer to a cons cell */      struct cons_struct *c;      /* ...or a pointer to a cons cell */
54      struct symbol_struct *sym;  /* ...or a pointer to a symbol */      struct symbol_struct *sym;  /* ...or a pointer to a symbol */
55        FILE *p;                    /* ...or an I/O stream */
56      int i;                      /* ...or an integer */      int i;                      /* ...or an integer */
57      float f;                    /* ...or a floating point number */      float f;                    /* ...or a floating point number */
58    } content;                    /* Stores a pointer or an integer */    } content;                    /* Stores a pointer or an integer */
# Line 121  void push_cstring(environment*, const ch Line 123  void push_cstring(environment*, const ch
123  char *mangle_str(const char*);  char *mangle_str(const char*);
124  extern void mangle(environment*);  extern void mangle(environment*);
125  void push_sym(environment*, const char*);  void push_sym(environment*, const char*);
126  extern void nl();  extern void nl(environment*);
127    extern void nlport(environment*);
128  extern void type(environment*);  extern void type(environment*);
129  void print_val(value*, int, stackitem*);  void print_val(environment *, value*, int, stackitem*, FILE*);
130  extern void print_(environment*);  extern void print_(environment*);
131  extern void print(environment*);  extern void print(environment*);
132  extern void princ_(environment*);  extern void princ_(environment*);
133  extern void princ(environment*);  extern void princ(environment*);
134  void print_st(value*, long);  extern void printport_(environment*);
135    extern void printport(environment*);
136    extern void princport_(environment*);
137    extern void princport(environment*);
138    void print_st(environment*, value*, long);
139  extern void printstack(environment*);  extern void printstack(environment*);
140  extern void swap(environment*);  extern void swap(environment*);
141  extern void rot(environment*);  extern void rot(environment*);
# Line 164  extern void sx_666f72(environment*); Line 171  extern void sx_666f72(environment*);
171  extern void foreach(environment*);  extern void foreach(environment*);
172  extern void to(environment*);  extern void to(environment*);
173  extern void readline(environment*);  extern void readline(environment*);
174    extern void readlineport(environment*);
175    void readlinestream(environment*, FILE*);
176  extern void sx_72656164(environment*);  extern void sx_72656164(environment*);
177    extern void readport(environment*);
178    void readstream(environment*, FILE*);
179  extern void beep(environment*);  extern void beep(environment*);
180  extern void sx_77616974(environment*);  extern void sx_77616974(environment*);
181  extern void copying(environment*);  extern void copying(environment*);
# Line 181  extern void cons(environment*); Line 192  extern void cons(environment*);
192  extern void assq(environment*);  extern void assq(environment*);
193  void assocgen(environment*, funcp);  void assocgen(environment*, funcp);
194  extern void sx_646f(environment *);  extern void sx_646f(environment *);
195    extern void sx_6f70656e(environment*);
196    extern void sx_636c6f7365(environment*);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26