Skip to content

Commit

Permalink
Add missing documentation (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCardwell committed Oct 11, 2024
1 parent 0bf5d53 commit 96b3b12
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions hs-bindgen-libclang/src/HsBindgen/Clang/LowLevel/Doxygen.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ clang_Cursor_getParsedComment cursor =
-- | Get the type of an AST node of any kind
--
-- <https://clang.llvm.org/doxygen/group__CINDEX__COMMENT.html#gad7f2a27ab2f69abcb9442e05a21a130f>
clang_Comment_getKind :: CXComment -> IO (SimpleEnum CXCommentKind)
clang_Comment_getKind ::
CXComment -- ^ AST node of any kind
-> IO (SimpleEnum CXCommentKind)
clang_Comment_getKind comment =
onHaskellHeap comment $ \comment' ->
wrap_Comment_getKind comment'
Expand Down Expand Up @@ -201,7 +203,10 @@ clang_InlineCommandComment_getNumArgs comment =
-- | Get the text of the specified argument.
--
-- <https://clang.llvm.org/doxygen/group__CINDEX__COMMENT.html#ga6824f3cdcb42edbd143db77a657fe888>
clang_InlineCommandComment_getArgText :: CXComment -> CUInt -> IO Text
clang_InlineCommandComment_getArgText ::
CXComment
-> CUInt -- ^ argument index (zero-based)
-> IO Text
clang_InlineCommandComment_getArgText comment argIdx =
onHaskellHeap comment $ \comment' ->
preallocate_ $ wrap_InlineCommandComment_getArgText comment' argIdx
Expand Down

0 comments on commit 96b3b12

Please # to comment.