Re: Struct Data Types
Re: Struct Data Types
- Subject: Re: Struct Data Types
- From: Charles Steinman <email@hidden>
- Date: Thu, 16 Aug 2007 18:10:10 -0700 (PDT)
--- Richard Somers <email@hidden> wrote:
> And consider the parameter types.
>
> (NSRect) is a pointer to a structure
That does not return a pointer to a struct; it returns
the value of a struct. If it were a pointer to a
structure, it would have been declared as (NSRect *).
Cheers,
Chuck
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden