From 361e4cfa2b8058e6873eacfa7a68a27df8be8248 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Mon, 10 Jan 2022 15:37:36 -0600 Subject: [PATCH 1/2] Add missing codox doc file for namespace --- docs/coffi.layout.html | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 docs/coffi.layout.html diff --git a/docs/coffi.layout.html b/docs/coffi.layout.html new file mode 100644 index 0000000..5daf5ef --- /dev/null +++ b/docs/coffi.layout.html @@ -0,0 +1,4 @@ + +coffi.layout documentation

coffi.layout

Functions for adjusting the layout of structs.

with-c-layout

(with-c-layout struct-spec)

Forces a struct specification to C layout rules.

+

This will add padding fields between fields to match C alignment requirements.

\ No newline at end of file From cfe67bf83fa2a153d9a439cc8f7f996c7833954f Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Mon, 10 Jan 2022 15:54:57 -0600 Subject: [PATCH 2/2] Fix kondo installation instructions The latest release removed the necessity to manually add the library in your config paths. --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 433b2d0..fa1a6ee 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,6 @@ config bundled with the library. You can do so with the following shell command: $ clj-kondo --copy-configs --dependencies --lint "$(clojure -Spath)" ``` -And then adding `"org.suskalo/coffi"` to the `:config-paths` key in your -`.clj-kondo/config.edn` file. - ## Usage There are two major components to coffi and interacting with native code: manipulating off-heap memory, and loading native code for use with Clojure.