2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Add Calls::Panel and handle incoming calls.

This commit is contained in:
John Preston
2017-04-19 23:25:48 +03:00
parent 0a716036c2
commit 4925af69e2
31 changed files with 1101 additions and 156 deletions

View File

@@ -210,6 +210,10 @@ inline void copy_bytes(byte_span destination, const_byte_span source) {
memcpy(destination.data(), source.data(), source.size());
}
inline void set_bytes(byte_span destination, gsl::byte value) {
memset(destination.data(), gsl::to_integer<unsigned char>(value), destination.size());
}
} // namespace base
// using for_const instead of plain range-based for loop to ensure usage of const_iterator