From 3ae1d6840ff923abff5a5d67dd83561e4339edbb Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Fri, 24 Sep 2021 10:25:29 -0500 Subject: [PATCH] Remove the docstring from defcstruct --- src/clj/coffi/ffi.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clj/coffi/ffi.clj b/src/clj/coffi/ffi.clj index 3d9f9bb..d485c48 100644 --- a/src/clj/coffi/ffi.clj +++ b/src/clj/coffi/ffi.clj @@ -1148,7 +1148,7 @@ (s/def ::defcstruct-args (s/cat :struct-name qualified-keyword? ;:layout (s/? keyword?) - :docstring (s/? string?) + ;:docstring (s/? string?) :fields (s/* (s/cat :field-name simple-keyword? :field-type ::type)))) @@ -1158,7 +1158,7 @@ The fields are provided as keyword args. Currently no padding is provided into the structure." - {:arglists '([struct-name docstring? & fields])} + {:arglists '([struct-name & fields])} [& args] ;; TODO(Joshua): Support adding padding to the structure (and make it ;; extensible?)