RetroArch
Macros
CpuArch.h File Reference
#include "7zTypes.h"
Include dependency graph for CpuArch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GetUi16(p)   (((const uint8_t *)(p))[0] | ((uint16_t)((const uint8_t *)(p))[1] << 8))
 
#define GetUi32(p)
 
#define GetUi64(p)   (GetUi32(p) | ((uint64_t)GetUi32(((const uint8_t *)(p)) + 4) << 32))
 

Macro Definition Documentation

◆ GetUi16

#define GetUi16 (   p)    (((const uint8_t *)(p))[0] | ((uint16_t)((const uint8_t *)(p))[1] << 8))

◆ GetUi32

#define GetUi32 (   p)
Value:
( \
((const uint8_t *)(p))[0] | \
((uint32_t)((const uint8_t *)(p))[1] << 8) | \
((uint32_t)((const uint8_t *)(p))[2] << 16) | \
((uint32_t)((const uint8_t *)(p))[3] << 24))
GLfloat GLfloat p
Definition: glext.h:9809
unsigned char uint8_t
Definition: stdint.h:124
unsigned int uint32_t
Definition: stdint.h:126

◆ GetUi64

#define GetUi64 (   p)    (GetUi32(p) | ((uint64_t)GetUi32(((const uint8_t *)(p)) + 4) << 32))