Talk About Network

Google


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 > Re: More on Con...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 128 of 158
Post > Topic >>

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

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

Also looks like you can say this:

(From CoreAudioTypes.h more or less...)

Only Forth Definitions
Decimal

lacking #define  include" :Extras:Mac Enums"

anew --erase--

: UInt32: 4 :MEMBER ;

STRUCTURE AudioBuffer
    UInt32: +mNumberChannels
    UInt32: +mDataByteSize
    Ptr:    +mData
STRUCTURE.END

enum {
  kVariableLengthArray = 1
};

ALSO MACENUMS

: AudioBuffers: AudioBuffer * :MEMBER ;

STRUCTURE AudioBufferList
    UInt32:      mNumberBuffers
    kVariableLengthArray AudioBuffers: mBuffers
STRUCTURE.END

My question here is where the best place to say ALSO MACENUMS is? The
enum kVariableArray is from MacTypes.h, but CoreAudioTypes.h ****fts
back and forth from defining enums and using them in further
declarations...

Best, 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 Jul 9 5:48:55 CDT 2008.