Mercurial > mplayer.hg
changeset 2776:6694f0d029f1
struct->typedef
author | arpi |
---|---|
date | Fri, 09 Nov 2001 03:26:12 +0000 |
parents | 8e3875816f6d |
children | 7c43c3829868 |
files | loader/qtx/qtxsdk/components.h |
diffstat | 1 files changed, 6 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/qtx/qtxsdk/components.h Fri Nov 09 02:17:02 2001 +0000 +++ b/loader/qtx/qtxsdk/components.h Fri Nov 09 03:26:12 2001 +0000 @@ -1,26 +1,23 @@ typedef long ComponentResult; typedef unsigned char UInt8; -struct ComponentParameters -{ +typedef struct { UInt8 flags; UInt8 paramSize; short what; long params[1]; -}; +} ComponentParameters; -struct ComponentInstace -{ +typedef struct { long data[1]; -}; +} ComponentInstace; typedef int OSType; -struct ComponentDescription -{ +typedef struct { OSType componentType; OSType componentSubType; OSType componentManufacturer; unsigned long componentFlags; unsigned long componentFlagsMask; -}; +} ComponentDescription;