We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61e8be commit a4ff793Copy full SHA for a4ff793
src/old/PyArray.jl
src/old/utils.jl
@@ -22,25 +22,6 @@ else
22
end
23
24
25
-pybufferformat_to_type(fmt::AbstractString) =
26
- fmt == "b" ? Cchar :
27
- fmt == "B" ? Cuchar :
28
- fmt == "h" ? Cshort :
29
- fmt == "H" ? Cushort :
30
- fmt == "i" ? Cint :
31
- fmt == "I" ? Cuint :
32
- fmt == "l" ? Clong :
33
- fmt == "L" ? Culong :
34
- fmt == "q" ? Clonglong :
35
- fmt == "Q" ? Culonglong :
36
- fmt == "e" ? Float16 :
37
- fmt == "f" ? Cfloat :
38
- fmt == "d" ? Cdouble :
39
- fmt == "?" ? Bool :
40
- fmt == "P" ? Ptr{Cvoid} :
41
- fmt == "O" ? C.PyObjectRef :
42
- fmt == "=e" ? Float16 :
43
- fmt == "=f" ? Float32 : fmt == "=d" ? Float64 : error("not implemented: $(repr(fmt))")
44
45
46
### TYPE UTILITIES
0 commit comments