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.
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 @@ + +
Functions for adjusting the layout of structs.
(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.