(destroy-ptr! destroy-fn seg)Allocate a pointer-to-pointer, store seg's address, call destroy-fn on it.
Common pattern for duckdb_destroy_* functions that take T* (pointer to handle).
Allocate a pointer-to-pointer, store `seg`'s address, call `destroy-fn` on it. Common pattern for duckdb_destroy_* functions that take T* (pointer to handle).
(destroy-ptrs! pairs)Batch destroy: one arena for multiple pointer-to-pointer destroy calls.
pairs is a sequence of [destroy-fn segment].
Batch destroy: one arena for multiple pointer-to-pointer destroy calls. `pairs` is a sequence of [destroy-fn segment].
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |