| 491 | } |
| 492 | |
| 493 | RecErrT |
| 494 | RecGetRecordBool(const char *name, RecBool *rec_bool, bool lock) |
| 495 | { |
| 496 | RecErrT err; |
| 497 | RecData data; |
| 498 | |
| 499 | if ((err = RecGetRecord_Xmalloc(name, RECD_INT, &data, lock)) == REC_ERR_OKAY) { |
| 500 | *rec_bool = 0 != data.rec_int; |
| 501 | } |
| 502 | return err; |
| 503 | } |
| 504 | |
| 505 | //------------------------------------------------------------------------- |
| 506 | // RecGetRec Attributes |
no test coverage detected