diff --git a/src/coffi/ffi.clj b/src/coffi/ffi.clj index 6e92947..f3c0573 100644 --- a/src/coffi/ffi.clj +++ b/src/coffi/ffi.clj @@ -3,6 +3,8 @@ (:import (java.lang.invoke VarHandle) (jdk.incubator.foreign + CLinker + FunctionDescriptor MemoryAccess MemoryAddress MemoryHandles @@ -10,7 +12,7 @@ MemoryLayout$PathElement MemoryLayouts MemorySegment - FunctionDescriptor))) + ResourceScope))) (defmulti serialize* "Writes a serialized version of the `obj` to the given `segment`.