================ idTypeDef::GetFunctionNumber ================ */
| 518 | ================ |
| 519 | */ |
| 520 | int idTypeDef::GetFunctionNumber( const function_t *func ) const { |
| 521 | int i; |
| 522 | |
| 523 | for( i = 0; i < functions.Num(); i++ ) { |
| 524 | if ( functions[ i ] == func ) { |
| 525 | return i; |
| 526 | } |
| 527 | } |
| 528 | return -1; |
| 529 | } |
| 530 | |
| 531 | /* |
| 532 | ================ |
no test coverage detected