class definition: close method and class documentation.

This commit is contained in:
2026-06-28 23:44:37 +02:00
parent c7b6d356d8
commit ddb274c644
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -20,6 +20,9 @@
(define/public (handle) (define/public (handle)
ksh) ksh)
(define/public (close)
(ks-close ksh))
(define/public (set! key val) (define/public (set! key val)
(ks-set! ksh key val) (ks-set! ksh key val)
this) this)
+5
View File
@@ -22,6 +22,11 @@ Opens or creates a keystore using @racket[file]. The meaning of
@racket[file] is the same as for @racket[ks-open]. @racket[file] is the same as for @racket[ks-open].
} }
@defmethod[(close) boolean?]{
Closes the keystore connection.
}
@defmethod[(handle) keystore?]{ @defmethod[(handle) keystore?]{
Returns the underlying keystore handle. Returns the underlying keystore handle.