scott slocombe F wrote:
> ...
> The following produces an unrecognized c-type error on ptmp_gl.
>
> (ct:defcstruct ptmp_gl ((next (ptmp_gl *)) (s_point s_vct3)))
>
> Is there a workaround? Any suggestions would be appreciated.
Because a pointer is a pointer and C doesn't use typing [i.e., there's no
type information embedded in the object], you could use any type in place
of the ptmp_gl. The problem will be coercing ACL4W to correctly
interpret [i.e., not barf] ref's to next. I think that shouldn't be too
hard, but I don't know how much ctypes/ffi tries to protect you.
--
Donald H. Mitchell <pgh.net at dhm>
Proactive Solutions, Inc. 412.835.2410
5858 Horseshoe Dr. 412.835.2411 (fax)
Bethel Park, PA 15102