| 2241 | // |
| 2242 | |
| 2243 | static TEXT* gen_name(TEXT* const string, const ref* reference, bool as_blob) |
| 2244 | { |
| 2245 | if (reference->ref_field->fld_array_info && !as_blob) |
| 2246 | fb_utils::snprintf(string, MAX_REF_SIZE, "isc_%d", |
| 2247 | reference->ref_field->fld_array_info->ary_ident); |
| 2248 | else |
| 2249 | fb_utils::snprintf(string, MAX_REF_SIZE, "isc_%d.isc_%d", |
| 2250 | reference->ref_port->por_ident, reference->ref_ident); |
| 2251 | |
| 2252 | return string; |
| 2253 | } |
| 2254 | |
| 2255 | |
| 2256 | //____________________________________________________________ |
no test coverage detected