Use layout primitives in c-layout multimethod
This commit is contained in:
parent
55d770cc34
commit
7350a5df1c
1 changed files with 9 additions and 9 deletions
|
|
@ -326,39 +326,39 @@
|
||||||
|
|
||||||
(defmethod c-layout ::byte
|
(defmethod c-layout ::byte
|
||||||
[_type]
|
[_type]
|
||||||
CLinker/C_CHAR)
|
byte-layout)
|
||||||
|
|
||||||
(defmethod c-layout ::short
|
(defmethod c-layout ::short
|
||||||
[_type]
|
[_type]
|
||||||
CLinker/C_SHORT)
|
short-layout)
|
||||||
|
|
||||||
(defmethod c-layout ::int
|
(defmethod c-layout ::int
|
||||||
[_type]
|
[_type]
|
||||||
CLinker/C_INT)
|
int-layout)
|
||||||
|
|
||||||
(defmethod c-layout ::long
|
(defmethod c-layout ::long
|
||||||
[_type]
|
[_type]
|
||||||
CLinker/C_LONG)
|
long-layout)
|
||||||
|
|
||||||
(defmethod c-layout ::long-long
|
(defmethod c-layout ::long-long
|
||||||
[_type]
|
[_type]
|
||||||
CLinker/C_LONG_LONG)
|
long-long-layout)
|
||||||
|
|
||||||
(defmethod c-layout ::char
|
(defmethod c-layout ::char
|
||||||
[_type]
|
[_type]
|
||||||
CLinker/C_CHAR)
|
char-layout)
|
||||||
|
|
||||||
(defmethod c-layout ::float
|
(defmethod c-layout ::float
|
||||||
[_type]
|
[_type]
|
||||||
CLinker/C_FLOAT)
|
float-layout)
|
||||||
|
|
||||||
(defmethod c-layout ::double
|
(defmethod c-layout ::double
|
||||||
[_type]
|
[_type]
|
||||||
CLinker/C_DOUBLE)
|
double-layout)
|
||||||
|
|
||||||
(defmethod c-layout ::pointer
|
(defmethod c-layout ::pointer
|
||||||
[_type]
|
[_type]
|
||||||
CLinker/C_POINTER)
|
pointer-layout)
|
||||||
|
|
||||||
(def java-prim-layout
|
(def java-prim-layout
|
||||||
"Map of primitive type names to the Java types for a method handle."
|
"Map of primitive type names to the Java types for a method handle."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue