aboutsummaryrefslogtreecommitdiff
path: root/src/types/basic.rs
blob: f7a505a62eb52bc5fe4dfcf41a29680c2995e190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
pub const VOID: u32         = 0x00000000;
pub const BOOL: u32         = 0x00000001;
pub const INT: u32          = 0x00000002; // int32_t
pub const UINT: u32         = 0x00000003; // uint32_t
pub const QCHAR: u32        = 0x00000007;
pub const QVARIANTMAP: u32  = 0x00000008;
pub const QVARIANTLIST: u32 = 0x00000009;
pub const QSTRING: u32      = 0x0000000a;
pub const QSTRINGLIST: u32  = 0x0000000b;
pub const QBYTEARRAY: u32   = 0x0000000c;
pub const QTIME: u32        = 0x0000000f;
pub const QDATETIME: u32    = 0x00000010;
pub const USERTYPE: u32     = 0x0000007f;
pub const LONG: u32         = 0x00000081; // int64_t
pub const SHORT: u32        = 0x00000082; // int16_t
pub const CHAR: u32         = 0x00000083; // int8_t
pub const ULONG: u32        = 0x00000084; // uint64_t
pub const USHORT: u32       = 0x00000085; // uint16_t
pub const UCHAR: u32        = 0x00000086; // uint8_t
pub const QVARIANT: u32     = 0x00000090;

// Void 	0x00000000
// Bool 	0x00000001
// Int 	0x00000002 	int32_t
// UInt 	0x00000003 	uint32_t
// QChar 	0x00000007
// QVariantMap 	0x00000008
// QVariantList 	0x00000009
// QString 	0x0000000a
// QStringList 	0x0000000b
// QByteArray 	0x0000000c
// QTime 	0x0000000f
// QDateTime 	0x00000010
// UserType 	0x0000007f
// Long 	0x00000081 	int64_t
// Short 	0x00000082 	int16_t
// Char 	0x00000083 	int8_t
// ULong 	0x00000084 	uint64_t
// UShort 	0x00000085 	uint16_t
// UChar 	0x00000086 	uint8_t
// QVariant 	0x00000090