File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,14 @@ newtype AFErr = AFErr { afError :: CInt }
42
42
, afErrUnknown = AF_ERR_UNKNOWN
43
43
}
44
44
45
- newtype AFDtype = AFDtype { afDType :: CInt }
46
- deriving (Show , Eq , Storable )
47
-
45
+ -- | Low-level for representation of ArrayFire types
46
+ newtype AFDtype
47
+ = AFDtype
48
+ { afDType :: CInt
49
+ -- ^ Value corresponding to ArrayFire type
50
+ } deriving (Show , Eq , Storable )
51
+
52
+ -- | Enums for AFDtype
48
53
#{enum AFDtype, AFDtype
49
54
, f32 = f32
50
55
, c32 = c32
Original file line number Diff line number Diff line change @@ -56,8 +56,10 @@ module ArrayFire.Types
56
56
, BorderType (.. )
57
57
, Storage (.. )
58
58
, AFDType (.. )
59
+ , AFDtype (.. )
59
60
, ColorMap (.. )
60
61
) where
61
62
62
63
import ArrayFire.Exception
63
64
import ArrayFire.Internal.Types
65
+ import ArrayFire.Internal.Defines
You can’t perform that action at this time.
0 commit comments