[gmpi] Re: GMPI SDK snapshot online
- From: "Jack O'Quin" <joq@xxxxxx>
- To: gmpi@xxxxxxxxxxxxx
- Date: Sun, 17 Apr 2005 21:27:43 -0500
Tim Hockin <thockin@xxxxxxxxxx> writes:
> On Sun, Apr 17, 2005 at 07:41:54PM -0500, Jack O'Quin wrote:
>> This is probably a stupid question, but why define the GUID this way?
>>
>> /*
>> * Globally Unique Identifier
>> *
>> * This is the established layout for a GUID.
>> */
>> struct GMPI_Guid {
>> uint32_t data1;
>> uint16_t data2;
>> uint16_t data3;
>> unsigned char data4[8];
>> };
>>
>> Why not just a single `unsigned char data[16]'?
>
> I have no idea - all the code I could find on the web did it this way,
> which does not even correspond to the standard printed notation. For fear
> of horking byte-ordering, I stuck with what I saw in use :)
So, the order is *intended* to change on differently endian machines?
Gack! :-/
--
joq
----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules: Please stay on topic. You are responsible for your own
words. Please respect your fellow subscribers. Please do not
redistribute anyone else's words without their permission.
Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe
- References:
- [gmpi] GMPI SDK snapshot online
- From: Tim Hockin
- [gmpi] Re: GMPI SDK snapshot online
- From: Jack O'Quin
- [gmpi] Re: GMPI SDK snapshot online
- From: Tim Hockin
Other related posts:
- » [gmpi] GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- » [gmpi] Re: GMPI SDK snapshot online
- [gmpi] GMPI SDK snapshot online
- From: Tim Hockin
- [gmpi] Re: GMPI SDK snapshot online
- From: Jack O'Quin
- [gmpi] Re: GMPI SDK snapshot online
- From: Tim Hockin