[futurebasic] Re: [FB] typedef struct OpaqueWindowGroupRef * WindowGroupRef;

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2005 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Sat, 14 May 2005 19:45:47 +1200
Bernie wrote:

> Anyone know the correct FB equivalent of:
>     typedef struct OpaqueWindowGroupRef * WindowGroupRef;
> ?
> I've used this for now:
>     #define WindowGroupRef as WindowRef

Your definition will work perfectly well in FB, and so would
   #define WindowGroupRef as long
but this
   #define WindowGroupRef as pointer // to OpaqueWindowGroupRef
is better because it hints at the nature of a WindowGroupRef.

Robert P.