tech.jna 4.05
Released under the Eclipse Public License
Bindings to JNA. Used with libpython-clj among others.
Installation
To install, add the following dependency to your project or build file:
[techascent/tech.jna "4.05"]
Namespaces
tech.v3.jna
Simple bindings to the JNA system. Fastest pathway to success is def-jna-fn
. Note that the default behavior for malloc has changed; the default resource type is :gc now as opposed to [:stack :gc].
Public variables and functions:
- add-library-path
- as-ptr
- c-library-name
- char-ptr-ptr->string-vec
- checknil
- clear-library-paths
- create-ptr-ptr
- def-jna-fn
- ensure-ptr
- ensure-ptr-ptr
- ensure-type
- find-function
- library-paths
- load-library
- malloc
- malloc-untracked
- map-shared-library-name
- math-library-name
- PToPtr
- ptr-convertible?
- register-direct-mapped-class!
- reload!
- set-loaded-library!
- size-t
- size-t-compile-time-switch
- size-t-ref
- size-t-ref-type
- size-t-ref-value
- size-t-type
- string->ptr
- string->ptr-untracked
- string->wide-ptr
- unsafe-read-byte
- variable-byte-ptr->string
- wide-ptr->string