unrarsrc  6.1.7
About: unrar extracts, views and tests the contents of archives created with the RAR archiver.
  Fossies Dox: unrarsrc-6.1.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

rartypes.hpp File Reference
#include <stdint.h>
Include dependency graph for rartypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define GET_SHORT16(x)   (sizeof(ushort)==2 ? (ushort)(x):((x)&0xffff))
#define INT32TO64(high, low)   ((((uint64)(high))<<32)+((uint64)low))
#define MAX_INT64   int64(INT32TO64(0x7fffffff,0xffffffff))
#define INT64NDF   INT32TO64(0x7fffffff,0x7fffffff)


typedef uint8_t byte
typedef uint16_t ushort
typedef unsigned int uint
typedef uint32_t uint32
typedef int32_t int32
typedef uint64_t uint64
typedef int64_t int64
typedef wchar_t wchar

Macro Definition Documentation


#define GET_SHORT16 (   x)    (sizeof(ushort)==2 ? (ushort)(x):((x)&0xffff))

Definition at line 16 of file rartypes.hpp.

◆ INT32TO64

#define INT32TO64 (   high,
)    ((((uint64)(high))<<32)+((uint64)low))

Definition at line 19 of file rartypes.hpp.


#define INT64NDF   INT32TO64(0x7fffffff,0x7fffffff)

Definition at line 30 of file rartypes.hpp.


#define MAX_INT64   int64(INT32TO64(0x7fffffff,0xffffffff))

Definition at line 22 of file rartypes.hpp.

Typedef Documentation

◆ byte

typedef uint8_t byte

Definition at line 6 of file rartypes.hpp.

◆ int32

typedef int32_t int32

Definition at line 10 of file rartypes.hpp.

◆ int64

typedef int64_t int64

Definition at line 12 of file rartypes.hpp.

◆ uint

typedef unsigned int uint

Definition at line 8 of file rartypes.hpp.

◆ uint32

typedef uint32_t uint32

Definition at line 9 of file rartypes.hpp.

◆ uint64

typedef uint64_t uint64

Definition at line 11 of file rartypes.hpp.

◆ ushort

typedef uint16_t ushort

Definition at line 7 of file rartypes.hpp.

◆ wchar

typedef wchar_t wchar

Definition at line 13 of file rartypes.hpp.