ES <ruby-ml / magical-cat.org> wrote:

> Normally you'd cast from void*, of course, but I don't know
> if it's possible in DL. Maybe pass around a struct FOO* instead?

That's precisely the problem: I'm wrapping a system library so I can't
change it.

> That or just write a C extension.

Yeah, I guess I'll have to go that way. That's too bad because DL is
actually pretty fun and productive.

-- 
Luc Heinrich - lucsky / mac.com