Changeset 39

Show
Ignore:
Timestamp:
02/10/06 14:58:15 (3 years ago)
Author:
krobillard
Message:

orTypeEqual() & orEqual() now take const arguments again.

Location:
trunk/orca
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/op.c

    r38 r39  
    505505  Returns CMP_ value. 
    506506*/ 
    507 static int compareValue( OValue* a, OValue* b ) 
     507static int compareValue( const OValue* a, const OValue* b ) 
    508508{ 
    509509    if( a->type == OT_INTEGER ) 
     
    689689 
    690690 
    691 static int orTypeEqual( OValue* a, OValue* b ) 
     691static int orTypeEqual( const OValue* a, const OValue* b ) 
    692692{ 
    693693    int logic = 0; 
     
    744744 
    745745 
    746 int orEqual( OValue* a, OValue* b ) 
     746int orEqual( const OValue* a, const OValue* b ) 
    747747{ 
    748748    if( a->type == OT_INTEGER ) 
  • trunk/orca/ovalue.h

    r38 r39  
    397397void    orRegisterPortDevice( OPortDevice* ); 
    398398void    orRegisterFileLoader( int (*func)( const char*, uint8_t*, int ) ); 
    399 int     orEqual( OValue*, OValue* ); 
     399int     orEqual( const OValue*, const OValue* ); 
    400400void    orForm( OString* out, const OValue* val ); 
    401401void    orMold( OString* out, const OValue* val );