Commit Graph

30 Commits

Author SHA1 Message Date
levlam
ed4f18bfaf Don't allow to call get_id() on non-abstract classes. 2024-01-22 19:46:12 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
e1c090c9e3 Don't generate duplicate includes and forward declarations. 2023-07-13 18:31:58 +03:00
levlam
ac018e21b2 Add write_tl_to_multiple_files to allow C++ autogenerated header splitting. 2023-06-26 19:25:40 +03:00
levlam
f4b4893124 Support additional headers in gen_output_begin. 2023-06-26 17:01:19 +03:00
levlam
aab207cdd2 Extract gen_output_begin_once from gen_output_begin. 2023-06-26 13:14:26 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
Andrea Cavalli
48a93aadb9
Support function generic result type (#1809)
Fixes #1708
2022-03-14 16:29:17 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
4533f79338 Don't generate MASK for parsed object/vector fields. 2021-11-01 20:48:06 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
a640fb2fe0 Add to_string method for vector of TL objects. 2020-12-21 03:02:20 +03:00
levlam
78e45da6b9 Use array instead of std::vector in the generated C++ classes. 2020-11-15 19:57:03 +03:00
levlam
e16952121b Use emplace whenever possible.
GitOrigin-RevId: 67cd8e3b6331c5e1671a9d662f034af1e29d3ac6
2020-07-13 23:20:16 +03:00
levlam
8898bfa655 Add typedefs for other integer and string types in generated C++ code.
GitOrigin-RevId: d6494c0aaaf10719c9bbb24ba4d259d7cde25060
2020-03-24 21:14:47 +03:00
levlam
24a4104ac2 Use separate type int53 in generated C++ code.
GitOrigin-RevId: 0316bec46dc5838858528456bb6947f92e350480
2020-03-24 20:52:33 +03:00
levlam
6943db4d52 Use separate type bytes in generated C++ code.
GitOrigin-RevId: 185d08246caf0dd6050b1c9409a4078746d9091e
2020-03-24 20:02:03 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
003c93f0d6 Improve parameter names.
GitOrigin-RevId: 9eb8a512d2f908ef5cb725eed74b1d979ead9ef2
2019-11-22 18:21:13 +03:00
levlam
0c4433621e Do not generate empty fetch functions and empty constructors.
GitOrigin-RevId: 65f0f7e37f5af8d6e256b6c7b7c07241354b7b45
2019-11-21 18:42:22 +03:00
levlam
6d53f3a85a Add field_num to gen_fetch_function_begin.
GitOrigin-RevId: a8679b71820cbd500ee489dec3a828eeec358080
2019-11-21 18:09:52 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
b3bae546ec Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
2018-09-27 16:37:15 +03:00
levlam
eb4c85a797 Fix CE.
GitOrigin-RevId: 0bb7986447b8c9fcdc80b8caf1feb03f8a945d90
2018-09-26 03:54:37 +03:00
levlam
ca58d36d4d Return parent type from tl_object::fetch to reduce number of unique_ptr types in header.
GitOrigin-RevId: c2bfa4b2879c8ee3a0feda50fca605a58673cc87
2018-09-25 06:26:36 +03:00
levlam
f404f7799b Move TL object fetch to cpp.
GitOrigin-RevId: 8700426caa00ca34be9716b9875cd4c87f8dc51f
2018-09-25 05:24:32 +03:00
levlam
8c45a03244 tdtl: pass class_name to constructor generators.
GitOrigin-RevId: 217c0cbd9eb99777f8970879d9b3da42cd6c8a02
2018-01-09 18:56:58 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00