Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth Mac > More on Convers...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 128 of 157
Post > Topic >>

More on Conversion style for OS X include files...

by "Charles Turner" <vze26m98@[EMAIL PROTECTED] > Aug 28, 2006 at 12:05 PM

Hi all-

Back to this after more than 30 days (or so Usenet tells me...)

I'm working on MacTypes.h, a conversion to go with CMF. I'm curious
what happens here in some QuickDraw types:

STRUCTURE Rect
  SHORT: +top
  SHORT: +left
  SHORT: +bottom
  SHORT: +right
STRUCTURE.END

STRUCTURE FixedRect
  Fixed: +left
  Fixed: +top
  Fixed: +right
  Fixed: +bottom
STRUCTURE.END

So the member names are the same. Does that mean that the definitions
for FixedRect will be used because they were compiled last? In other
words, do I need to create unique member names or does MacForth do
something smart here?

Also, slightly off-topic:

typedef struct TimeBaseRecord* TimeBase;

was moved to MacTypes.h from  Movies.h, but I can't for the life of me
find the definition of TimeBaseRecord in the 10.4.u headers. Any idea
where this lives, or am I missing something about typedefs?

Best and thanks, Charles




 3 Posts in Topic:
More on Conversion style for OS X include files...
"Charles Turner"  2006-08-28 12:05:11 
Re: More on Conversion style for OS X include files...
"Charles Turner"  2006-08-28 13:06:15 
Re: More on Conversion style for OS X include files...
"Charles Turner"  2006-08-28 15:43:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 6:49:09 CDT 2008.