File tree 2 files changed +4
-4
lines changed
cxx-qt-gen/src/generator/cpp
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -159,14 +159,12 @@ fn possible_built_in(ty: &str) -> String {
159
159
"u8" => "::std::uint8_t" ,
160
160
"u16" => "::std::uint16_t" ,
161
161
"u32" => "::std::uint32_t" ,
162
- // TODO: https://github.com/KDAB/cxx-qt/issues/36
163
- // "u64" => "quint64",
162
+ "u64" => "::std::uint64_t" ,
164
163
"usize" => "::std::size_t" ,
165
164
"i8" => "::std::int8_t" ,
166
165
"i16" => "::std::int16_t" ,
167
166
"i32" => "::std::int32_t" ,
168
- // TODO: https://github.com/KDAB/cxx-qt/issues/36
169
- // "i64" => "qint64",
167
+ "i64" => "::std::int64_t" ,
170
168
"isize" => "::rust::isize" ,
171
169
"f32" => "float" ,
172
170
"f64" => "double" ,
Original file line number Diff line number Diff line change 18
18
static const int i8 = qRegisterMetaType<::std::int8_t >(" ::std::int8_t" );
19
19
static const int i16 = qRegisterMetaType<::std::int16_t >(" ::std::int16_t" );
20
20
static const int i32 = qRegisterMetaType<::std::int32_t >(" ::std::int32_t" );
21
+ static const int i64 = qRegisterMetaType<::std::int64_t >(" ::std::int64_t" );
21
22
22
23
static const int u8 = qRegisterMetaType<::std::uint8_t >(" ::std::uint8_t" );
23
24
static const int u16 = qRegisterMetaType<::std::uint16_t >(" ::std::uint16_t" );
24
25
static const int u32 = qRegisterMetaType<::std::uint32_t >(" ::std::uint32_t" );
26
+ static const int u64 = qRegisterMetaType<::std::uint64_t >(" ::std::uint64_t" );
25
27
#endif
You can’t perform that action at this time.
0 commit comments