File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
5858// / describe what change you made. The content of this comment isn't important;
5959// / it just ensures a conflict if two people change the module format.
6060// / Don't worry about adhering to the 80-column limit for this line.
61- const uint16_t SWIFTMODULE_VERSION_MINOR = 874 ; // SDKVersion
61+ const uint16_t SWIFTMODULE_VERSION_MINOR = 875 ; // Reorder control block enum
6262
6363// / A standard hash seed used for all string hashes in a serialized module.
6464// /
@@ -863,9 +863,9 @@ namespace control_block {
863863 SDK_NAME,
864864 SDK_VERSION,
865865 REVISION,
866- CHANNEL,
867866 IS_OSSA,
868867 ALLOWABLE_CLIENT_NAME,
868+ CHANNEL,
869869 };
870870
871871 using MetadataLayout = BCRecordLayout<
@@ -906,11 +906,6 @@ namespace control_block {
906906 BCBlob
907907 >;
908908
909- using ChannelLayout = BCRecordLayout<
910- CHANNEL,
911- BCBlob
912- >;
913-
914909 using IsOSSALayout = BCRecordLayout<
915910 IS_OSSA,
916911 BCFixed<1 >
@@ -920,6 +915,11 @@ namespace control_block {
920915 ALLOWABLE_CLIENT_NAME,
921916 BCBlob
922917 >;
918+
919+ using ChannelLayout = BCRecordLayout<
920+ CHANNEL,
921+ BCBlob
922+ >;
923923}
924924
925925// / The record types within the options block (a sub-block of the control
Original file line number Diff line number Diff line change @@ -836,9 +836,9 @@ void Serializer::writeBlockInfoBlock() {
836836 BLOCK_RECORD (control_block, SDK_NAME);
837837 BLOCK_RECORD (control_block, SDK_VERSION);
838838 BLOCK_RECORD (control_block, REVISION);
839- BLOCK_RECORD (control_block, CHANNEL);
840839 BLOCK_RECORD (control_block, IS_OSSA);
841840 BLOCK_RECORD (control_block, ALLOWABLE_CLIENT_NAME);
841+ BLOCK_RECORD (control_block, CHANNEL);
842842
843843 BLOCK (OPTIONS_BLOCK);
844844 BLOCK_RECORD (options_block, SDK_PATH);
You can’t perform that action at this time.
0 commit comments