(make-tvm-jna-fn fn-name docstring rettype & argpairs)
TVM functions are very regular so the mapping to them can exploit this. Argpair is of type [symbol type-coersion].
TVM functions are very regular so the mapping to them can exploit this. Argpair is of type [symbol type-coersion].
Attempts to coerce the tvm value into the jvm. Failures result in a returned map container a value for the key: :tvm->jvm-failure
This is in order to ensure that, for instance, deserialization of a node's fields allows for a sane recovery mechanism and doesn't lose those field values.
Attempts to coerce the tvm value into the jvm. Failures result in a returned map container a value for the key: :tvm->jvm-failure This is in order to ensure that, for instance, deserialization of a node's fields allows for a sane recovery mechanism and doesn't lose those field values.
(TVMFuncCall fn-handle arg_values type_codes num_args ret_val ret_type_code)
Call a tvm function
Call a tvm function
(TVMFuncGetGlobal fn-name fn-ptr)
Get a global function ptr
Get a global function ptr
(TVMFuncListGlobalNames num-fns fn-names)
List the global names
List the global names
(TVMGetLastError)
Get last tvm error as byte ptr
Get last tvm error as byte ptr
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close