(as-jpp-pointer item)
Create a jcpp pointer that shares the backing store with the thing. Thing must implement tech.jna/PToPtr, tech.datatype.base/PDatatype, and clojure.core.matrix.protocols/PElementCount.
Create a jcpp pointer that shares the backing store with the thing. Thing must implement tech.jna/PToPtr, tech.datatype.base/PDatatype, and clojure.core.matrix.protocols/PElementCount.
(make-pointer-of-type datatype size-or-data)
(make-pointer-of-type datatype size-or-data options)
(make-typed-pointer datatype elem-seq-or-count & [options])
This module no longer has a typed pointer, function provided to ease portability to jna system.
This module no longer has a typed pointer, function provided to ease portability to jna system.
(offset-pointer ptr offset)
Create a 'fake' temporary pointer to use in api calls. Note this function is threadsafe while (.position ptr offset) is not.
Create a 'fake' temporary pointer to use in api calls. Note this function is threadsafe while (.position ptr offset) is not.
Anything convertible to a pointer that shares the backing store. Datatypes do not have to match.
Anything convertible to a pointer that shares the backing store. Datatypes do not have to match.
(->ptr-backing-store item)
(ptr->buffer ptr)
Get a nio buffer from the pointer to use in other places. Note this function is threadsafe while a raw .asBuffer call is not!!! https://github.com/bytedeco/javacpp/issues/155.
Get a nio buffer from the pointer to use in other places. Note this function is threadsafe while a raw .asBuffer call is not!!! https://github.com/bytedeco/javacpp/issues/155.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close