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

Diff of /stack/stack.h

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

revision 1.6 by masse, Sat Mar 9 09:58:31 2002 UTC revision 1.8 by masse, Sun Mar 10 09:13:36 2002 UTC
# Line 36  typedef struct { Line 36  typedef struct {
36    } type:4;                     /* Type of stack element */    } type:4;                     /* Type of stack element */
37    
38    int gc_garb:1;    int gc_garb:1;
39      int gc_protect:1;
40    
41    union {    union {
42      void *ptr;                  /* Pointer to the content */      void *ptr;                  /* Pointer to the content */
# Line 69  typedef struct stackitem_struct Line 70  typedef struct stackitem_struct
70     defined symbols */     defined symbols */
71  typedef struct {  typedef struct {
72    stackitem *gc_ref;    stackitem *gc_ref;
   stackitem *gc_protect;  
73    int gc_limit, gc_count;    int gc_limit, gc_count;
74    
75    stackitem *head;              /* Head of the stack */    stackitem *head;              /* Head of the stack */
# Line 92  extern void toss(environment*); Line 92  extern void toss(environment*);
92  symbol **hash(hashtbl, const char*);  symbol **hash(hashtbl, const char*);
93  value* new_val(environment*);  value* new_val(environment*);
94  void gc_mark(value*);  void gc_mark(value*);
95    void gc_maybe(environment *env);
96  extern void gc_init(environment*);  extern void gc_init(environment*);
97  void push_val(environment*, value*);  void push_val(environment*, value*);
98  void push_int(environment*, int);  void push_int(environment*, int);
# Line 139  extern void to(environment*); Line 140  extern void to(environment*);
140  extern void readline(environment*);  extern void readline(environment*);
141  extern void sx_72656164(environment*);  extern void sx_72656164(environment*);
142  extern void foreach(environment*);  extern void foreach(environment*);
143  void protect(environment*, value*);  void protect(value*);
144  void unprotect(environment*);  void unprotect(value*);
145  extern void copying(environment*);  extern void copying(environment*);
146  extern void warranty(environment*);  extern void warranty(environment*);
147  extern void sx_2a(environment*);  extern void sx_2a(environment*);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26