[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fun-O Win32 FFI Question



On Wednesday, August 14, 2002, at 12:35 PM, Chris Double wrote:

>  let p :: <point*> = get-a-point();
>  GetMouse(p.pointer-value);

Thanks.

Howabout:

// C
typedef	void *	WindowRef;
ErrorCode MakeWindow( WindowRef * window );

How does that extra * get handled by the Fun-Dev FFI?

WindowRef is an opaque pointer, so in theory I should just be passing 
<WindowRef>s around as they're already a pointer type.

And when I want to pass a pointer to this pointer in, do I have to make 
a <WindowRef*> (or <WindowRef**>) object and use pointer-value on it?

Thanks.

- Rob.