Changeset 144 for trunk/orca/gl/gx.h

Show
Ignore:
Timestamp:
05/11/06 14:23:03 (3 years ago)
Author:
krobillard
Message:

Native arguments are now kept on the stack until after the call and the
result is now always put into a1.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/gl/gx.h

    r42 r144  
    147147 
    148148#define gxResultRES(rp) \ 
    149    {OValue* _or_result = orRESULT; \ 
    150     orSetTF(_or_result, OT_RESOURCE); \ 
    151     _or_result->argc  = rp->res.resType; \ 
    152     _or_result->index = rp->res.resKey;} 
     149   {orSetTF(a1, OT_RESOURCE); \ 
     150    a1->argc  = rp->res.resType; \ 
     151    a1->index = rp->res.resKey;} 
    153152 
    154153#define gxResType(val)  val->argc