Skip to content

Commit

Permalink
Derive enum instances (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCardwell committed Oct 8, 2024
1 parent 577e9dc commit e13749d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hs-bindgen-libclang/src/HsBindgen/Clang/Doxygen/Enums.hs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ data CXCommentInlineCommandRenderKind =
-- | Command argument should not be rendered (since it only defines an
-- anchor).
| CXCommentInlineCommandRenderKind_Anchor
deriving stock (Show, Eq, Ord, Enum, Bounded)

-- | Describes parameter passing direction for @\\param@ or @\\arg@ command.
--
Expand All @@ -136,4 +137,5 @@ data CXCommentParamPassDirection =
| CXCommentParamPassDirection_Out

-- | The parameter is an input and output parameter.
| CXCommentParamPassDirection_InOut
| CXCommentParamPassDirection_InOut
deriving stock (Show, Eq, Ord, Enum, Bounded)

0 comments on commit e13749d

Please sign in to comment.