File: uint32.h

package info (click to toggle)
bglibs 1.104-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,536 kB
  • ctags: 4,142
  • sloc: ansic: 13,977; perl: 624; makefile: 121; sh: 64
file content (21 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef UINT32_H
#define UINT32_H

#include <sysdeps.h>
#include <uintnn.h>
__UINTNN_DECL(32,4)
#define uint32_get uint32_get_lsb
#define uint32_pack uint32_pack_lsb
#define uint32_unpack uint32_unpack_lsb

#ifdef ENDIAN_LSB
#define uint32_get_native uint32_get_lsb
#define uint32_pack_native uint32_pack_lsb
#define uint32_unpack_native uint32_unpack_lsb
#else
#define uint32_get_native uint32_get_msb
#define uint32_pack_native uint32_pack_msb
#define uint32_unpack_native uint32_unpack_msb
#endif

#endif