byte.h File Reference

Byte order functions header. More...

#include "ufotypes.h"
Include dependency graph for byte.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

short BigShort (uint16_t l)
short LittleShort (uint16_t l)
int BigLong (uint32_t l)
int LittleLong (uint32_t l)
float BigFloat (float l)
float LittleFloat (float l)
void Swap_Init (void)

Detailed Description

Byte order functions header.

Definition in file byte.h.


Function Documentation

float BigFloat ( float  l  ) 

Definition at line 52 of file byte.c.

References _BigFloat.

Referenced by R_ModLoadAliasDPMModel(), and SV_ModLoadAliasDPMModel().

int BigLong ( uint32_t  l  ) 

Definition at line 44 of file byte.c.

Referenced by R_ModLoadAliasDPMModel(), and SV_ModLoadAliasDPMModel().

short BigShort ( uint16_t  l  ) 

Definition at line 36 of file byte.c.

float LittleFloat ( float  l  ) 
int LittleLong ( uint32_t  l  ) 
short LittleShort ( uint16_t  l  ) 
void Swap_Init ( void   ) 

Definition at line 87 of file byte.c.

References _BigFloat, _LittleFloat, Com_Printf(), FloatNoSwap(), and FloatSwap().

Referenced by main(), Qcommon_Init(), and TEST_Init().


Generated by  doxygen 1.6.2