mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Provide single-data generic TL accessor.
This commit is contained in:
parent
9eaac98070
commit
6e25a2fc12
2 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,7 @@ generate({
|
||||||
'bytes': 'string',
|
'bytes': 'string',
|
||||||
},
|
},
|
||||||
'builtinInclude': 'mtproto/core_types.h',
|
'builtinInclude': 'mtproto/core_types.h',
|
||||||
|
'optimizeSingleData': True,
|
||||||
|
|
||||||
'dumpToText': {
|
'dumpToText': {
|
||||||
'include': 'mtproto/details/mtproto_dump_to_text.h',
|
'include': 'mtproto/details/mtproto_dump_to_text.h',
|
||||||
|
|
|
@ -29,6 +29,9 @@ using mtpPingId = uint64;
|
||||||
using mtpBuffer = QVector<mtpPrime>;
|
using mtpBuffer = QVector<mtpPrime>;
|
||||||
using mtpTypeId = uint32;
|
using mtpTypeId = uint32;
|
||||||
|
|
||||||
|
struct NotSingleDataTypePlaceholder {
|
||||||
|
};
|
||||||
|
|
||||||
namespace MTP {
|
namespace MTP {
|
||||||
|
|
||||||
// type DcId represents actual data center id, while in most cases
|
// type DcId represents actual data center id, while in most cases
|
||||||
|
|
Loading…
Add table
Reference in a new issue