| 256 | #else /* BREADCRUMBS */ |
| 257 | |
| 258 | void |
| 259 | Placebc(const char *funcnm, int linenum) |
| 260 | { |
| 261 | if (!check_restriction(0)) { |
| 262 | #if (NH_DEVEL_STATUS != NH_STATUS_RELEASED) |
| 263 | char panicbuf[BUFSZ]; |
| 264 | |
| 265 | Sprintf(panicbuf, "Placebc denied to %s:%d, restricted by %s:%d", |
| 266 | funcnm, linenum, |
| 267 | bcpbreadcrumbs.funcnm, bcpbreadcrumbs.linenum); |
| 268 | paniclog("Placebc", panicbuf); |
| 269 | #endif |
| 270 | return; |
| 271 | } |
| 272 | if ((uchain && uchain->where != OBJ_FREE) |
| 273 | && bcpbreadcrumbs.in_effect) { |
| 274 | impossible("Placebc collision at %s:%d, already placed by %s:%d", |
| 275 | funcnm, linenum, |
| 276 | bcpbreadcrumbs.funcnm, bcpbreadcrumbs.linenum); |
| 277 | return; |
| 278 | } |
| 279 | bcpbreadcrumbs.in_effect = TRUE; |
| 280 | bcubreadcrumbs.in_effect = FALSE; |
| 281 | bcpbreadcrumbs.funcnm = funcnm; |
| 282 | bcpbreadcrumbs.linenum = linenum; |
| 283 | placebc_core(); |
| 284 | } |
| 285 | |
| 286 | void |
| 287 | Unplacebc(const char *funcnm, int linenum) |
nothing calls this directly
no test coverage detected