Home Type definitionsType definitions HDFUNCSHDFUNCS Memory-Control-Block (MCB) in MagiCMemory-Control-Block (MCB) in MagiC

I.9 MacVersion

This structure plays a role in connection with MagiC Mac, and is defined as follows:

typedef struct /* 'vers' resource definition, see Inside Mac docs */
{
   int8_t vm;       /* First part of version number in BCD */
   int8_t vn;       /* Second and third part of version    */
                    /* number in BCD                       */
   int8_t  vt;      /* Development: 0x20, alpha: 0x40,     */
                    /* beta: 0x60, release: 0x80           */
   int8_t  vd;      /* Stage of pre-release version        */
   int16_t region;  /* Region code                         */
   int8_t  str[];   /* Two version strings                 */
} MacVersion;

See also: The MagiC Mac cookie


Home Type definitionsType definitions HDFUNCSHDFUNCS Memory-Control-Block (MCB) in MagiCMemory-Control-Block (MCB) in MagiC