void TWMWriter::end_export_section (BinaryFileStream &file, DTsize size_location) { DTsize save_location = file.p(); file.seek_p(size_location, Stream::FROM_BEGINNING); file << (DTint) (save_location-size_location-sizeof(DTint)); file.seek_p(save_location, Stream::FROM_BEGINNING); }
DTsize TWMWriter::begin_export_section (BinaryFileStream &file, DTint section) { file << section; DTsize size_location = file.p(); file << (DTint) 0; return size_location; }