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

Diff of /stack/stack.h

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

revision 1.7 by teddy, Sun Mar 10 08:51:31 2002 UTC revision 1.9 by teddy, Sun Mar 10 10:06:36 2002 UTC
# Line 35  typedef struct { Line 35  typedef struct {
35      list      list
36    } type:4;                     /* Type of stack element */    } type:4;                     /* Type of stack element */
37    
38    int gc_garb:1;    union {
39        struct {
40          unsigned int mark:1;
41          unsigned int protect:1;
42        } flag;
43        unsigned int no_gc:2;
44      } gc;
45    
46    union {    union {
47      void *ptr;                  /* Pointer to the content */      void *ptr;                  /* Pointer to the content */
# Line 69  typedef struct stackitem_struct Line 75  typedef struct stackitem_struct
75     defined symbols */     defined symbols */
76  typedef struct {  typedef struct {
77    stackitem *gc_ref;    stackitem *gc_ref;
   stackitem *gc_protect;  
78    int gc_limit, gc_count;    int gc_limit, gc_count;
79    
80    stackitem *head;              /* Head of the stack */    stackitem *head;              /* Head of the stack */
# Line 140  extern void to(environment*); Line 145  extern void to(environment*);
145  extern void readline(environment*);  extern void readline(environment*);
146  extern void sx_72656164(environment*);  extern void sx_72656164(environment*);
147  extern void foreach(environment*);  extern void foreach(environment*);
148  void protect(environment*, value*);  void protect(value*);
149  void unprotect(environment*);  void unprotect(value*);
150  extern void copying(environment*);  extern void copying(environment*);
151  extern void warranty(environment*);  extern void warranty(environment*);
152  extern void sx_2a(environment*);  extern void sx_2a(environment*);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.9

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26