spandsp  3.0.0
unaligned.h File Reference

Go to the source code of this file.

Macros

#define get_unaligned_uint64(p)   (*((uint64_t *) (p)))
 
#define put_unaligned_uint64(p, d)   do { uint64_t *__P = (p); *__P = d; } while(0)
 
#define get_net_unaligned_uint64(p)   (*((uint64_t *) (p)))
 
#define put_net_unaligned_uint64(p, d)   do { uint64_t *__P = (p); *__P = d; } while(0)
 
#define get_unaligned_uint32(p)   (*((uint32_t *) (p)))
 
#define put_unaligned_uint32(p, d)   do { uint32_t *__P = (p); *__P = d; } while(0)
 
#define get_net_unaligned_uint32(p)   (*((uint32_t *) (p)))
 
#define put_net_unaligned_uint32(p, d)   do { uint32_t *__P = (p); *__P = d; } while(0)
 
#define get_unaligned_uint16(p)   (*((uint16_t *) (p)))
 
#define put_unaligned_uint16(p, d)   do { uint16_t *__P = (p); *__P = d; } while(0)
 
#define get_net_unaligned_uint16(p)   (*((uint16_t *) (p)))
 
#define put_net_unaligned_uint16(p, d)   do { uint16_t *__P = (p); *__P = d; } while(0)