Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: A Useless Variable That Makes My Struct Work. Why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A Useless Variable That Makes My Struct Work. Why?




On Jan 8, 2006, at 12:12 PM, Jordan Evans wrote:

I'm using a struct inside a class.  I have four 32 bit
data types.  But, my struct will not work, unless I
add a BOOL type, which isn't even used in my
implementation.

Any one know why I have to have this useless data
field added, just so my struct will function?

@interface Radix : NSObject
{
... other field data ...

struct radixSet
{
int element;
int omegaElement;
int radix;
id setPtr;
BOOL
whyDoIHaveToBeHereSoThisWillRunIAmNoWhereElseInTheProgramCheckCommentM eOut;
};
}

What do you mean by "my struct will not work"?

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >A Useless Variable That Makes My Struct Work. Why? (From: Jordan Evans <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.