diff options
author | Petter Urkedal <paurkedal@gmail.com> | 2014-05-19 22:36:55 +0200 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2014-05-31 12:35:26 +0400 |
commit | 7b0be4885117b95a169274fd922680eb20d43ce8 (patch) | |
tree | fc76e8d325463e9fa62f108d56457c1ed5a9b0ed /fnlz_mlc.c | |
parent | 57cc0490bad1dd1699662f2f9002012226fefc87 (diff) | |
download | bdwgc-7b0be4885117b95a169274fd922680eb20d43ce8.tar.gz |
Use magic header on objects to improve disclaim_test
* tests/disclaim_test.c (my_assert): Call fflush().
* tests/disclaim_test.c (pair_s): Replace is_valid with "magic" field.
* tests/disclaim_test.c (pair_magic): New const static variable.
* tests/disclaim_test.c (is_pair): New function.
* tests/disclaim_test.c (pair_dct, pair_new): Set "magic" field and
use is_pair() instead of is_valid for assertion checking.
Diffstat (limited to 'fnlz_mlc.c')
0 files changed, 0 insertions, 0 deletions