@@ -93,22 +93,22 @@ _ToDType2 = TypeAliasType(
93
93
type_params = (_ScalarT , _T ),
94
94
)
95
95
96
- _c_i16 : TypeAlias = ct .c_int16 | ct .c_short
97
- _c_u16 : TypeAlias = ct .c_uint16 | ct .c_ushort
98
- _c_i32 : TypeAlias = ct .c_int32 | ct .c_int
99
- _c_u32 : TypeAlias = ct .c_uint32 | ct .c_uint
100
- _c_i64 : TypeAlias = ct .c_int64 | ct .c_longlong | ct .c_ssize_t
101
- _c_u64 : TypeAlias = ct .c_uint64 | ct .c_ulonglong | ct .c_size_t | ct .c_void_p
96
+ _C_i16 : TypeAlias = ct .c_int16 | ct .c_short
97
+ _C_u16 : TypeAlias = ct .c_uint16 | ct .c_ushort
98
+ _C_i32 : TypeAlias = ct .c_int32 | ct .c_int
99
+ _C_u32 : TypeAlias = ct .c_uint32 | ct .c_uint
100
+ _C_i64 : TypeAlias = ct .c_int64 | ct .c_longlong | ct .c_ssize_t
101
+ _C_u64 : TypeAlias = ct .c_uint64 | ct .c_ulonglong | ct .c_size_t | ct .c_void_p
102
102
103
103
ToDTypeBool : TypeAlias = _ToDType2 [np .bool , ct .c_bool | bool ] | _BoolCodes
104
104
ToDTypeInt8 : TypeAlias = _ToDType2 [np .int8 , ct .c_int8 ] | _Int8Codes
105
105
ToDTypeUInt8 : TypeAlias = _ToDType2 [np .uint8 , ct .c_uint8 ] | _UInt8Codes
106
- ToDTypeInt16 : TypeAlias = _ToDType2 [np .int16 , _c_i16 ] | _Int16Codes
107
- ToDTypeUInt16 : TypeAlias = _ToDType2 [np .uint16 , _c_u16 ] | _UInt16Codes
108
- ToDTypeInt32 : TypeAlias = _ToDType2 [np .int32 , _c_i32 ] | _Int32Codes
109
- ToDTypeUInt32 : TypeAlias = _ToDType2 [np .uint32 , _c_u32 ] | _UInt32Codes
110
- ToDTypeInt64 : TypeAlias = _ToDType2 [np .int64 , _c_i64 | JustInt ] | _Int64Codes | _IntPCodes
111
- ToDTypeUInt64 : TypeAlias = _ToDType2 [np .uint64 , _c_u64 ] | _UInt64Codes | _UIntPCodes
106
+ ToDTypeInt16 : TypeAlias = _ToDType2 [np .int16 , _C_i16 ] | _Int16Codes
107
+ ToDTypeUInt16 : TypeAlias = _ToDType2 [np .uint16 , _C_u16 ] | _UInt16Codes
108
+ ToDTypeInt32 : TypeAlias = _ToDType2 [np .int32 , _C_i32 ] | _Int32Codes
109
+ ToDTypeUInt32 : TypeAlias = _ToDType2 [np .uint32 , _C_u32 ] | _UInt32Codes
110
+ ToDTypeInt64 : TypeAlias = _ToDType2 [np .int64 , _C_i64 | JustInt ] | _Int64Codes | _IntPCodes
111
+ ToDTypeUInt64 : TypeAlias = _ToDType2 [np .uint64 , _C_u64 ] | _UInt64Codes | _UIntPCodes
112
112
ToDTypeULong : TypeAlias = np .dtypes .ULongDType | type [ct .c_ulong ] | _ULongCodes
113
113
ToDTypeLong : TypeAlias = np .dtypes .LongDType | type [ct .c_long ] | _LongCodes
114
114
ToDTypeFloat16 : TypeAlias = _ToDType [np .float16 ] | _Float16Codes
0 commit comments