| 607 | } |
| 608 | |
| 609 | bool |
| 610 | saveExtraHeader(HfInfo* file, BlasExtraInfo* bExtra) |
| 611 | { |
| 612 | unsigned int dtype = (unsigned int)bExtra->dtype; |
| 613 | unsigned int flags = (unsigned int)bExtra->flags; |
| 614 | |
| 615 | int status = hfJump(file, bExtra->offset); |
| 616 | |
| 617 | status += hfWrite(file, &dtype, sizeof(unsigned int)); |
| 618 | status += hfWrite(file, &flags, sizeof(unsigned int)); |
| 619 | status += hfWrite(file, &bExtra->numParam, sizeof(unsigned int)); |
| 620 | status += hfWriteCRC(file); |
| 621 | |
| 622 | return checkFile(file, (size_t)bExtra->offset + bExtra->size, status); |
| 623 | } |
| 624 | |
| 625 | |
| 626 | bool |
no test coverage detected