Lisp HUG Maillist Archive

Testing whether a foreign pointer is to an immediate or aggregate type

Hi

subject says it all.  Is there a simple way to do that?

I want to define something like

	(fli:with-foreign-slots ((a aa) (b bb)) fp (+ a b))

and I would like to actually test that FP is a pointer to an aggregate 
type (better yet, I'd like to test that FP is a pointer to a struct or 
union).

Cheers


--
Marco Antoniotti
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


Updated at: 2020-12-10 09:00 UTC