Changeset 94 for trunk/orca/context.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/context.c

    r84 r94  
    630630   /copy 
    631631*/ 
    632 void orBindNative( OValue* a1 ) 
     632OR_NATIVE_PUB( orBindNative ) 
    633633{ 
    634634#define REF_BIND_COPY   a1 + 2 
     
    672672 
    673673 
    674 void orProtectNative( OValue* a1 ) 
     674OR_NATIVE_PUB( orProtectNative ) 
    675675{ 
    676676    OBlock* vblk; 
     
    715715   word   [word!] 
    716716*/ 
    717 void orInNative( OValue* a1 ) 
     717OR_NATIVE_PUB( orInNative ) 
    718718{ 
    719719    OValue* a2 = a1 + 1; 
     
    739739   body  [block!] 
    740740*/ 
    741 void orUseNative( OValue* a1 ) 
     741OR_NATIVE_PUB( orUseNative ) 
    742742{ 
    743743    OContext ctx; 
     
    799799   body         [block!] 
    800800*/ 
    801 void orForeachNative( OValue* a1 ) 
     801OR_NATIVE_PUB( orForeachNative ) 
    802802{ 
    803803#ifdef OR_CONFIG_REBOL 
     
    10321032#else  // -------------------------------------------------------------- 
    10331033    // Foreach without context creation overhead. 
    1034     // Executes in 25%-30% less time and does not allocate from heap. 
     1034    // (Does not bind or allocate from heap). 
    10351035 
    10361036    OBlock* blk; 
     
    12131213//see orForeachNative 
    12141214 
    1215 void orRemoveEachNative( OValue* a1 ) 
     1215OR_NATIVE_PUB( orRemoveEachNative ) 
    12161216{ 
    12171217    int rlen; 
     
    15141514} 
    15151515 
     1516 
    15161517/*EOF*/