For expert use: Store a primitive value in a jvalue object.
lw-ji
jvalue-store-jboolean jvalue value => stored-p
jvalue-store-jbyte jvalue value => stored-p
jvalue-store-jchar jvalue value => stored-p
jvalue-store-jshort jvalue value => stored-p
jvalue-store-jint jvalue value => stored-p
jvalue-store-jlong jvalue value => stored-p
jvalue-store-jfloat jvalue value => stored-p
jvalue-store-jdouble jvalue value => stored-p
jvalue⇩ |
A FLI pointer to a jvalue. |
value⇩ |
A Lisp object. |
stored-p |
A boolean. |
These functions check if value is an acceptable value, and if it is, store it in jvalue.
jvalue must a FLI pointer to a jvalue.
value can be any Lisp value. Each of these functions regards value as acceptable if value is of the type indicated by the last part of its name. For example, jvalue-store-jint
checks that value is integer inside the range of jint.
If the value is acceptable, the function stores it in jvalue and returns t
. Otherwise it returns nil
.
In typical usage of the Java interface, you will not need to use any of these functions.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:46