=================== idDeclManagerLocal::GetDeclNameFromType =================== */
| 1094 | =================== |
| 1095 | */ |
| 1096 | const char * idDeclManagerLocal::GetDeclNameFromType( declType_t type ) const { |
| 1097 | int typeIndex = (int)type; |
| 1098 | |
| 1099 | if ( typeIndex < 0 || typeIndex >= declTypes.Num() || declTypes[typeIndex] == NULL ) { |
| 1100 | common->FatalError( "idDeclManager::GetDeclNameFromType: bad type: %i", typeIndex ); |
| 1101 | } |
| 1102 | return declTypes[typeIndex]->typeName; |
| 1103 | } |
| 1104 | |
| 1105 | /* |
| 1106 | =================== |
no test coverage detected