Ignore:
Timestamp:
May 11, 2011, 1:26:15 AM (11 years ago)
Author:
Sam Hocevar
Message:

lisp: merge the Lisp and LispGC classes and improve coding style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/lisp/lisp_gc.h

    r635 r636  
    1515// Stack user progs can push data and have it GCed
    1616extern GrowStack<void> l_user_stack;
    17 
    18 class LispGC
    19 {
    20 public:
    21     // Collect temporary or permanent spaces
    22     static void CollectSpace(LSpace *which_space, int grow);
    23 
    24 private:
    25     static LArray *CollectArray(LArray *x);
    26     static LList *CollectList(LList *x);
    27     static LObject *CollectObject(LObject *x);
    28     static void CollectSymbols(LSymbol *root);
    29     static void CollectStacks();
    30 };
    3117
    3218// This pointer reference stack lists all pointers to temporary lisp
Note: See TracChangeset for help on using the changeset viewer.