| 329 | */ |
| 330 | |
| 331 | int object_equal( OBJECT * lhs, OBJECT * rhs ) |
| 332 | { |
| 333 | object_validate( lhs ); |
| 334 | object_validate( rhs ); |
| 335 | #ifdef BJAM_NO_MEM_CACHE |
| 336 | return !strcmp( object_str( lhs ), object_str( rhs ) ); |
| 337 | #else |
| 338 | assert( ( lhs == rhs ) == !strcmp( object_str( lhs ), object_str( rhs ) ) ); |
| 339 | return lhs == rhs; |
| 340 | #endif |
| 341 | } |
| 342 | |
| 343 | |
| 344 | /* |
no test coverage detected