Ignore:
Timestamp:
Apr 17, 2011, 10:28:44 AM (11 years ago)
Author:
Sam Hocevar
Message:

lisp: implement LispList::GetLength?.

File:
1 edited

Legend:

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

    r486 r490  
    391391    the_game->game_to_mouse(x1,draw_to,v,i,sy1);     // calculate sy1
    392392
    393     sy1=max(v->cy1,sy1);
    394     sy2=min(v->cy2,sy2);
     393    sy1 = Max(v->cy1, sy1);
     394    sy2 = Min(v->cy2, sy2);
    395395    trans_image *p=picture();
    396396
     
    517517
    518518
    519     ((LispList *)am)->cdr=frm;
    520     ((LispList *)frm)->cdr=hx;
    521     ((LispList *)hx)->cdr=hy;
    522     ((LispList *)hy)->cdr=px;
    523     ((LispList *)px)->cdr=py;
     519    ((LispList *)am)->cdr = (LispObject *)frm;
     520    ((LispList *)frm)->cdr = (LispObject *)hx;
     521    ((LispList *)hx)->cdr = (LispObject *)hy;
     522    ((LispList *)hy)->cdr = (LispObject *)px;
     523    ((LispList *)px)->cdr = (LispObject *)py;
    524524
    525525    time_marker *prof1=NULL;
     
    12341234
    12351235
    1236     ((LispList *)lcx)->cdr=lcy;
    1237     ((LispList *)lcy)->cdr=lb;
     1236    ((LispList *)lcx)->cdr = (LispObject *)lcy;
     1237    ((LispList *)lcy)->cdr = (LispObject *)lb;
    12381238
    12391239    void *m=mark_heap(TMP_SPACE);
Note: See TracChangeset for help on using the changeset viewer.