forked from pythonnet/pythonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyMemberType.cs
More file actions
38 lines (31 loc) · 728 Bytes
/
PyMemberType.cs
File metadata and controls
38 lines (31 loc) · 728 Bytes
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
namespace Python.Runtime.Native;
enum PyMemberType: int
{
Short = 0,
Int = 1,
Long = 2,
Float = 3,
Double = 4,
String = 5,
Object = 6,
/// <summary>1-character string</summary>
Char = 7,
/// <summary>8-bit signed int</summary>
Byte = 8,
UByte = 9,
UShort = 10,
UInt = 11,
ULong = 12,
StringInPlace = 13,
/// <summary>bools contained in the structure (assumed char)</summary>
Bool = 14,
/// <summary>
/// Like <see cref="Object"/>but raises AttributeError
/// when the value is NULL, instead of converting to None
/// </summary>
ObjectEx = 16,
LongLong = 17,
ULongLong = 18,
PySignedSizeT = 19,
AlwaysNone = 20,
}