Add void as a primitive type

This commit is contained in:
Joshua Suskalo 2021-09-16 15:06:49 -05:00
parent 3456ec52a5
commit 2d60e27e07

View file

@ -136,11 +136,11 @@
(def primitive-types (def primitive-types
"A set of keywords representing all the primitive types which may be passed to "A set of keywords representing all the primitive types which may be passed to
native functions." or returned from native functions."
#{::byte ::short ::int ::long ::long-long #{::byte ::short ::int ::long ::long-long
::char ::char
::float ::double ::float ::double
::pointer}) ::pointer ::void})
(def c-prim-layout (def c-prim-layout
"Map of primitive type names to the [[CLinker]] types for a method handle." "Map of primitive type names to the [[CLinker]] types for a method handle."