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