( acht, acolorP )
| 734 | |
| 735 | |
| 736 | static int |
| 737 | pam_lookupacolor( acht, acolorP ) |
| 738 | acolorhash_table acht; |
| 739 | rgbaPixel* acolorP; |
| 740 | { |
| 741 | int hash; |
| 742 | acolorhist_list achl; |
| 743 | |
| 744 | hash = pam_hashapixel( *acolorP ); |
| 745 | for ( achl = acht[hash]; achl != (acolorhist_list) 0; achl = achl->next ) |
| 746 | if ( PAM_EQUAL( achl->ch.acolor, *acolorP ) ) |
| 747 | return achl->ch.value; |
| 748 | |
| 749 | return -1; |
| 750 | } |
| 751 | |
| 752 | |
| 753 |
no outgoing calls
no test coverage detected