| 346 | */ |
| 347 | |
| 348 | unsigned int object_hash( OBJECT * obj ) |
| 349 | { |
| 350 | object_validate( obj ); |
| 351 | #ifdef BJAM_NO_MEM_CACHE |
| 352 | return hash_keyval( object_str( obj ), strlen( object_str( obj ) ) ); |
| 353 | #else |
| 354 | return object_get_item( obj )->header.hash; |
| 355 | #endif |
| 356 | } |
| 357 | |
| 358 | #endif |
| 359 |
no test coverage detected