Ejemplo n.º 1
0
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);
}