Skip to content

Commit

Permalink
add support for :pointer? in lower-ptr-type (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
phronmophobic committed Sep 19, 2021
1 parent 69dc563 commit e35edf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tech/v3/datatype/ffi/size_t.clj
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
(defn ^:no-doc lower-ptr-type
"Downcast size-t and pointers to their integer equivalents"
[argtype]
(if (#{:size-t :string :pointer} argtype)
(if (#{:size-t :string :pointer :pointer?} argtype)
(offset-t-type)
argtype))

0 comments on commit e35edf6

Please sign in to comment.