Skip navigation.
 
mlRe: C to Objective-C
FROM : Jon
DATE : Tue Oct 08 20:01:17 2002

Thanks,

- (void)verticesX:(float*)xVert Y:(float*)yVert
T:(int)TOTAL;

Great I'll use it.

Thanks again,
Jon

--- Dietrich Epp <<email_removed>> wrote:
>
> On Friday, October 4, 2002, at 07:56 , Jon wrote:
>
> > I've tried - (void)verticesX:(float)xVert[]
> Y:yVert[]
> > T:(int)TOTAL; but this doesn't work in Cocoa. How
> > should I write it in Objective-C?
>
> My suggestion is to use float* instead of float[]...
> but float[] works. 
> You see, xVert[] is not an OK variable name in C or
> objective C, what
> you get is xVert with a type of float[].  This is
> why I hate C.

Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlC to Objective-C Jon Oct 4, 16:56
mlRe: C to Objective-C Thomas Castiglione Oct 4, 17:13
mlRe: C to Objective-C Clark S. Cox III Oct 4, 17:17
mlRe: C to Objective-C Ryan Stevens Oct 4, 17:29
mlRe: C to Objective-C Ondra Cada Oct 4, 17:56
mlRe: C to Objective-C Ondra Cada Oct 4, 18:18
mlRe: C to Objective-C Clark S. Cox III Oct 4, 18:37
mlRe: C to Objective-C Manfred Lippert Oct 4, 19:44
mlRe: C to Objective-C Brent Gulanowski Oct 4, 20:22
mlRe: C to Objective-C Clark S. Cox III Oct 4, 20:27
mlRe: C to Objective-C Jon Oct 8, 20:01