Ignore:
Timestamp:
May 11, 2011, 1:26:11 AM (11 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/particle.cpp

    r555 r635  
    7272    exit(0);
    7373  }
    74   int sp=current_space;
    75   current_space=PERM_SPACE;
     74  LSpace *sp = LSpace::Current;
     75  LSpace::Current = &LSpace::Perm;
    7676  sym->SetNumber(total_pseqs); // set the symbol value to the object number
    77   current_space=sp;
     77  LSpace::Current = sp;
    7878  pseqs=(part_sequence **)realloc(pseqs,sizeof(part_sequence *)*(total_pseqs+1));
    7979
Note: See TracChangeset for help on using the changeset viewer.