int ewah_serialize(struct ewah_bitmap *self, int fd) { return ewah_serialize_to(self, write_helper, (void *)(intptr_t)fd); }
/** * Write the bitmap index to disk */ static inline void dump_bitmap(struct sha1file *f, struct ewah_bitmap *bitmap) { if (ewah_serialize_to(bitmap, sha1write_ewah_helper, f) < 0) die("Failed to write bitmap index"); }