aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cl/gpgme-package.lisp
diff options
context:
space:
mode:
authorGuillaume LE VAILLANT <[email protected]>2018-10-12 06:49:26 +0000
committerWerner Koch <[email protected]>2018-10-12 07:02:18 +0000
commit85d7af8ff2f6afd63701079e23f31be08d58a15d (patch)
tree2fa6b355a81a61d010b79e297ea644c470acb381 /lang/cl/gpgme-package.lisp
parentRegister DCO for Guillaume LE VAILLANT (diff)
downloadgpgme-85d7af8ff2f6afd63701079e23f31be08d58a15d.tar.gz
gpgme-85d7af8ff2f6afd63701079e23f31be08d58a15d.zip
cl: Several fixes
-- * Use wrapper types calling translation functions instead of TRANSLATE-{FROM,TO}-FOREIGN methods as they seem not to be called in some cases. * Use the (:STRUCT SOME-C-STRUCT) notation instead of the deprecated direct reference to SOME-C-STRUCT. * Add missing values in enums and bit fields. * Use cffi-grovel to define system types (SIZE-T, OFF-T, etc). * Wrap GPGME-DATA-T in a class (like contexts). * Use the FINALIZE function from trivial-garbage to free the C objects for contexts, keys and data automatically. * Make DATA-READ-CB and DATA-WRITE-CB run faster. * Update the README file. Signed-off-by: Guillaume LE VAILLANT <[email protected]>
Diffstat (limited to 'lang/cl/gpgme-package.lisp')
-rw-r--r--lang/cl/gpgme-package.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/cl/gpgme-package.lisp b/lang/cl/gpgme-package.lisp
index 239d57fb..25e01a8e 100644
--- a/lang/cl/gpgme-package.lisp
+++ b/lang/cl/gpgme-package.lisp
@@ -26,7 +26,8 @@
(defpackage #:gpgme
(:use #:common-lisp #:cffi #:gpg-error)
-
+ (:import-from #:trivial-garbage
+ #:finalize)
(:export #:check-version
#:*version*
#:context