Changeset 94 for trunk/orca/series.c

Show
Ignore:
Timestamp:
03/17/06 22:41:34 (3 years ago)
Author:
krobillard
Message:

All natives now use the OR_NATIVE macro.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/series.c

    r83 r94  
    108108 
    109109 
    110 void orLengthQNative( OValue* a1 ) 
     110OR_NATIVE( orLengthQNative ) 
    111111{ 
    112112    int len; 
     
    142142 
    143143 
    144 void orHeadNative( OValue* a1 ) 
     144OR_NATIVE( orHeadNative ) 
    145145{ 
    146146    if( a1->type == OT_LIST ) 
     
    156156 
    157157 
    158 void orTailNative( OValue* a1 ) 
     158OR_NATIVE( orTailNative ) 
    159159{ 
    160160    if( a1->type == OT_LIST ) 
     
    173173 
    174174 
    175 void orBackNative( OValue* a1 ) 
     175OR_NATIVE( orBackNative ) 
    176176{ 
    177177    if( a1->type == OT_LIST ) 
     
    194194 
    195195 
    196 void orNextNative( OValue* a1 ) 
     196OR_NATIVE( orNextNative ) 
    197197{ 
    198198    if( a1->type == OT_LIST ) 
     
    215215 
    216216 
    217 void orIndexQNative( OValue* a1 ) 
     217OR_NATIVE( orIndexQNative ) 
    218218{ 
    219219    if( a1->type == OT_LIST ) 
     
    230230 
    231231 
    232 void orHeadQNative( OValue* a1  ) 
     232OR_NATIVE( orHeadQNative  ) 
    233233{ 
    234234    int logic = OR_FALSE; 
     
    251251 
    252252 
    253 void orTailQNative( OValue* a1  ) 
     253OR_NATIVE( orTailQNative  ) 
    254254{ 
    255255    int logic = OR_FALSE; 
     
    274274 
    275275 
    276 void orClearNative( OValue* a1 ) 
     276OR_NATIVE( orClearNative ) 
    277277{ 
    278278    switch( a1->type ) 
     
    413413#define REF_INS_ONLY    a1+4 
    414414 
    415 void orInsertNative( OValue* a1 ) 
     415OR_NATIVE( orInsertNative ) 
    416416{ 
    417417    OValue* a2 = a1 + 1; 
     
    584584#define REF_RM_RANGE   a1+2 
    585585 
    586 void orRemoveNative( OValue* a1 ) 
     586OR_NATIVE( orRemoveNative ) 
    587587{ 
    588588    int len; 
     
    827827 
    828828 
    829 void orFirstNative( OValue* a1 ) 
     829OR_NATIVE( orFirstNative ) 
    830830{ 
    831831    if( a1->type == OT_OBJECT ) 
     
    842842 
    843843 
    844 void orSecondNative( OValue* a1 ) 
     844OR_NATIVE( orSecondNative ) 
    845845{ 
    846846    orPick( a1, 1, orRESULT ); 
     
    848848 
    849849 
    850 void orThirdNative( OValue* a1 ) 
     850OR_NATIVE( orThirdNative ) 
    851851{ 
    852852    orPick( a1, 2, orRESULT ); 
     
    854854 
    855855 
    856 void orLastNative( OValue* a1 ) 
     856OR_NATIVE( orLastNative ) 
    857857{ 
    858858    OValue* result = a1; 
     
    990990 
    991991 
    992 void orReverseNative( OValue* a1 ) 
     992OR_NATIVE( orReverseNative ) 
    993993{ 
    994994    switch( a1->type ) 
     
    10431043 
    10441044 
    1045 void orSkipNative( OValue* a1 ) 
     1045OR_NATIVE( orSkipNative ) 
    10461046{ 
    10471047    int n; 
     
    10721072 
    10731073 
    1074 void orAtNative( OValue* a1 ) 
     1074OR_NATIVE( orAtNative ) 
    10751075{ 
    10761076    int n; 
     
    11031103 
    11041104 
    1105 void orPickNative( OValue* a1 ) 
     1105OR_NATIVE( orPickNative ) 
    11061106{ 
    11071107    int n; 
     
    11421142  poke value index data 
    11431143*/ 
    1144 void orPokeNative( OValue* a1 ) 
     1144OR_NATIVE( orPokeNative ) 
    11451145{ 
    11461146    int n; 
     
    12451245    value 
    12461246*/ 
    1247 void orSelectNative( OValue* a1 ) 
     1247OR_NATIVE( orSelectNative ) 
    12481248{ 
    12491249    OValue* a2 = a1 + 1; 
     
    14731473#define REF_COPY_DEEP   a1+3 
    14741474 
    1475 void orCopyNative( OValue* a1 ) 
     1475OR_NATIVE( orCopyNative ) 
    14761476{ 
    14771477    if( (a1->type == OT_BITSET) || (a1->type == OT_MATRIX) ) 
     
    15161516    /only 
    15171517*/ 
    1518 void orChangeNative( OValue* a1 ) 
     1518OR_NATIVE( orChangeNative ) 
    15191519{ 
    15201520    OValue* a2 = a1 + 1; 
     
    18001800  value 
    18011801*/ 
    1802 void orFindNative( OValue* a1 ) 
     1802OR_NATIVE( orFindNative ) 
    18031803{ 
    18041804    OValue* a2 = a1 + 1; 
     
    19111911#define REF_CASE_PART   a1+1 
    19121912 
    1913 void orLowercaseNative( OValue* a1 ) 
     1913OR_NATIVE( orLowercaseNative ) 
    19141914{ 
    19151915    int c; 
     
    19421942 
    19431943 
    1944 void orUppercaseNative( OValue* a1 ) 
     1944OR_NATIVE( orUppercaseNative ) 
    19451945{ 
    19461946    int c; 
     
    19771977#define REF_TRIM_TAIL   a1+3 
    19781978 
    1979 void orTrimNative( OValue* a1 ) 
     1979OR_NATIVE( orTrimNative ) 
    19801980{ 
    19811981    OString* str = orSTRING(a1);