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/objects.cpp

    r635 r636  
    488488    am = LList::Create();
    489489    PtrRef r1(am);
    490     am->car = LNumber::Create(amount);
     490    am->m_car = LNumber::Create(amount);
    491491
    492492    frm = LList::Create();
    493493    PtrRef r2(frm);
    494     frm->car = LPointer::Create(from);
     494    frm->m_car = LPointer::Create(from);
    495495
    496496    hx = LList::Create();
    497497    PtrRef r3(hx);
    498     hx->car = LNumber::Create(hitx);
     498    hx->m_car = LNumber::Create(hitx);
    499499
    500500    hy = LList::Create();
    501501    PtrRef r4(hy);
    502     hy->car = LNumber::Create(hity);
     502    hy->m_car = LNumber::Create(hity);
    503503
    504504    px = LList::Create();
    505505    PtrRef r5(px);
    506     px->car = LNumber::Create(push_xvel);
     506    px->m_car = LNumber::Create(push_xvel);
    507507
    508508    py = LList::Create();
    509509    PtrRef r6(py);
    510     py->car = LNumber::Create(push_yvel);
    511 
    512     px->cdr = py;
    513     hy->cdr = px;
    514     hx->cdr = hy;
    515     frm->cdr = hx;
    516     am->cdr = frm;
     510    py->m_car = LNumber::Create(push_yvel);
     511
     512    px->m_cdr = py;
     513    hy->m_cdr = px;
     514    hx->m_cdr = hy;
     515    frm->m_cdr = hx;
     516    am->m_cdr = frm;
    517517
    518518    time_marker *prof1 = NULL;
     
    12031203    lcx = LList::Create();
    12041204    PtrRef r1(lcx);
    1205     lcx->car = LNumber::Create(cx);
     1205    lcx->m_car = LNumber::Create(cx);
    12061206
    12071207    lcy = LList::Create();
    12081208    PtrRef r2(lcy);
    1209     lcy->car = LNumber::Create(cy);
     1209    lcy->m_car = LNumber::Create(cy);
    12101210
    12111211    lb = LList::Create();
    12121212    PtrRef r3(lb);
    1213     lb->car = LNumber::Create(button);
    1214 
    1215     lcx->cdr = lcy;
    1216     lcy->cdr = lb;
     1213    lb->m_car = LNumber::Create(button);
     1214
     1215    lcx->m_cdr = lcy;
     1216    lcy->m_cdr = lb;
    12171217
    12181218    void *m = LSpace::Tmp.Mark();
Note: See TracChangeset for help on using the changeset viewer.