On 2005-dec-17, at 12:22, Vasilis M. wrote:
i want to check if a cffi-type is an alias of :c-proxy and i use
(defun c-proxy-alias-p (cffi-type) (let ((tp (cffi::find-type cffi-type))) (when (subtypep (type-of tp) 'cffi::foreign-type-alias) (eql (cffi::name (cffi::actual-type tp)) :c-proxy))))
is there a way to do that without accessing cffi internals?
Probably not, I suppose a foreign-subtype-p would be useful. Any suggestions for a better name?
any ideas for array handling?, as i can see there is no :array type in cffi.
What is it that you want to do with arrays that CFFI doesn't support?