Liking cljdoc? Tell your friends :D

tech.datatype.jna


->typed-pointerclj

(->typed-pointer item)

Creates a typed-pointer object. Implement PToPtr, mp/PElementCount, and dtype-base/get-datatype and we convert your thing to a typed pointer.

Creates a typed-pointer object.
  Implement PToPtr, mp/PElementCount, and dtype-base/get-datatype
and we convert your thing to a typed pointer.
sourceraw docstring

array-copy-fnscljmacro

(array-copy-fns)
source

as-typed-pointerclj

(as-typed-pointer item)

Get something substitutable as a typed-pointer. Implement all the protocols necessary to be tech.datatype.java-unsigned/typed-buffer and PToPtr and you can be considered a typed-pointer.

Get something substitutable as a typed-pointer.
Implement all the protocols necessary to be tech.datatype.java-unsigned/typed-buffer
*and* PToPtr and you can be considered a typed-pointer.
sourceraw docstring

make-jna-pointerclj

(make-jna-pointer address)

Use with care...

Use with care...
sourceraw docstring

make-typed-pointerclj

(make-typed-pointer datatype elem-count-or-seq & [options])
source

memcpyclj

(memcpy dst src n-bytes)

Copy bytes from one object to another

Copy bytes from one object to another
sourceraw docstring

memsetclj

(memset data val num-bytes)

Set a block of memory to a value

Set a block of memory to a value
sourceraw docstring

offset-pointerclj

(offset-pointer ptr offset)
source

pointer->addressclj

(pointer->address ptr)
source

PToPtrcljprotocol

->ptr-backing-storeclj

(->ptr-backing-store item)
source

typed-data-settercljmacro

(typed-data-setter datatype set-fn ptr item-seq)
source

typed-pointer->ptrclj

(typed-pointer->ptr typed-pointer)
source

typed-pointer?clj

(typed-pointer? item)
source

unsafe-address->typed-pointerclj

(unsafe-address->typed-pointer address byte-len datatype)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close