Changeset 144 for trunk/orca/qt/main.cpp

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/qt/main.cpp

    r108 r144  
    4848    { 
    4949        OIndex strN; 
     50        OValue* tos; 
    5051 
     52        tos = orTOS; 
    5153        strN = orMakeCString( argv[1], -1 ); 
    52         orResultFILE( strN ); 
     54        orSetTF(tos, OT_FILE ); 
     55        orSetSeries(tos, strN, 0 ); 
    5356 
    54         orDoNative( orRESULT ); 
     57        orDoNative( tos ); 
    5558        if( orErrorThrown ) 
    5659        { 
     
    112115                { 
    113116                    OValue* val; 
    114                     val = orRESULT; 
     117                    val = orTOS; 
    115118                    if( (val->type != OT_UNSET) && 
    116119                        (val->type != OT_OBJECT) &&