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

lisp: refactor Lisp spaces so that they are real objects, and get rid
of the unused USER_SPACE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/cache.cpp

    r555 r635  
    382382      if (cache_fun)
    383383      {
    384     int sp=current_space;
    385     current_space=PERM_SPACE;
     384    LSpace *sp = LSpace::Current;
     385    LSpace::Current = &LSpace::Perm;
    386386
    387387    void *call_with=NULL;
     
    419419      }
    420420    }
    421     current_space=sp;
     421    LSpace::Current=sp;
    422422
    423423      }
Note: See TracChangeset for help on using the changeset viewer.