Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

twobyte Union Reference


Detailed Description

Structure for shuffling two-byte values.

Load into _usval as an rushort and extract as bytes, or vice versa.

Definition at line 80 of file bytegames.c.

Data Fields

struct {
   rbyte   a
   rbyte   b
_byteval
 Unsigned byte representation.
rushort _usval
 Unsigned short representation.


Field Documentation

rushort twobyte::_usval
 

Unsigned short representation.

Definition at line 82 of file bytegames.c.

Referenced by bytegames_getrs2(), bytegames_putrs2(), and bytegames_swap2().

rbyte twobyte::a
 

Definition at line 86 of file bytegames.c.

rbyte twobyte::b
 

Definition at line 87 of file bytegames.c.

struct { ... } twobyte::_byteval
 

Unsigned byte representation.

Referenced by bytegames_getrs2(), bytegames_putrs2(), and bytegames_swap2().


The documentation for this union was generated from the following file:
Generated on Fri Sep 30 19:01:21 2005 by  doxygen 1.4.4