Return the Lisp array element type matching a supplied foreign type, or the foreign type matching a Lisp array element type.
lw-ji
java-type-to-lisp-array-type jtype => l-result
lisp-array-type-to-java-type lisp-type
jtype⇩ |
A foreign type. |
lisp-type⇩ |
A Lisp type specifier. |
l-result |
A Lisp array element type, or nil . |
The function java-type-to-lisp-array-type
returns the matching Lisp array element type for the foreign type jtype, which needs to be one of the foreign types corresponding to a Java primitive type, or nil
if the argument is not such a foreign type.
The function lisp-array-type-to-java-type
returns the matching foreign type, corresponding to a Java primitive type, for the Lisp array element type lisp-type, or nil
if there is no match.
Both functions use the table below for doing the match:
Foreign type | Lisp type |
---|---|
| |
| |
| |
| |
| |
|
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:46