File: uint32.h

package info (click to toggle)
bglibs 2.04%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,468 kB
  • sloc: ansic: 15,821; perl: 674; sh: 63; makefile: 29
file content (21 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (3)
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