Also use uint32 for bool-bitfields, otherwise:
int a : 1 = 0;
...
const auto test = true;
const auto b = test ? 1 : 0;
if (a != b) {
a = b;
...
}
Assert(a == b); // Violation, because a == -1, not 1 (after a = b).
|
||
|---|---|---|
| .. | ||
| build | ||
| cmake | ||
| codegen@5a11029c46 | ||
| lib_base@74be75339d | ||
| lib_crl@3d7e1e1f13 | ||
| lib_lottie@3e9c2f1026 | ||
| lib_qr@501f4c3502 | ||
| lib_rpl@8b1015d1bd | ||
| lib_spellcheck@b94ec0107b | ||
| lib_storage@839609369d | ||
| lib_tl@36fb95c4de | ||
| lib_ui@c3aab1bd14 | ||
| lib_webrtc@b68a95ad4d | ||
| lib_webview@ec24c7a960 | ||
| Resources | ||
| SourceFiles | ||
| Telegram | ||
| ThirdParty | ||
| CMakeLists.txt | ||
| configure.bat | ||
| configure.py | ||
| configure.sh | ||
| create.bat | ||
| Telegram.plist | ||