Skip to content

Commit 2298435

Browse files
committed
add destroy docstring
1 parent 7fde00e commit 2298435

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cuda_bindings/cuda/bindings/nvjitlink.pyx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ cdef int check_status(int status) except 1 nogil:
7272
###############################################################################
7373

7474
cpdef destroy(intptr_t handle):
75+
"""nvJitLinkDestroy frees the memory associated with the given handle.
76+
77+
Args:
78+
handle (intptr_t): nvJitLink handle.
79+
80+
.. seealso:: `nvJitLinkDestroy`
81+
"""
7582
cdef Handle h = <Handle>handle
7683
with nogil:
7784
status = nvJitLinkDestroy(&h)

0 commit comments

Comments
 (0)