[CoreFoundation] Fix CFBundle.Architecture constants. (#11490)
There was a confusion between hex and decimal values, the values are written using decimal in the headers, but were treated as hex values in the C# source. This is a breaking change, but the values are just plain wrong, so I don't really see a way around this. Also there's no good way to work around it by accepting the old values and converting in our managed wrapper method, because the old ARM values match the new PPC values, so there's no way to know if the input is using old values or new values.
This commit is contained in:
Родитель
8bb65492ec
Коммит
154b00f652
|
@ -18,10 +18,10 @@ namespace CoreFoundation {
|
||||||
public enum Architecture {
|
public enum Architecture {
|
||||||
I386 = 0x00000007,
|
I386 = 0x00000007,
|
||||||
X86_64 = 0x01000007,
|
X86_64 = 0x01000007,
|
||||||
ARM = 0x00000012,
|
ARM = 0x0000000c,
|
||||||
ARM64 = 0x01000012,
|
ARM64 = 0x01000000 | ARM,
|
||||||
PPC = 0x00000018,
|
PPC = 0x00000012,
|
||||||
PPC64 = 0x01000018,
|
PPC64 = 0x01000000 | PPC,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Загрузка…
Ссылка в новой задаче