~ubuntu-branches/debian/sid/botan/sid

« back to all changes in this revision

Viewing changes to include/types.h

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2018-03-01 22:23:25 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20180301222325-7p7vc45gu3hta34d
Tags: 2.4.0-2
* Don't remove .doctrees from the manual if it doesn't exist.
* Don't specify parallel to debhelper.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*************************************************
2
 
* Low Level Types Header File                    *
3
 
* (C) 1999-2007 The Botan Project                *
4
 
*************************************************/
5
 
 
6
 
#ifndef BOTAN_TYPES_H__
7
 
#define BOTAN_TYPES_H__
8
 
 
9
 
#include <botan/build.h>
10
 
 
11
 
namespace Botan {
12
 
 
13
 
typedef unsigned char byte;
14
 
typedef unsigned short u16bit;
15
 
typedef unsigned int u32bit;
16
 
 
17
 
typedef signed int s32bit;
18
 
 
19
 
#if defined(_MSC_VER) || defined(__BORLANDC__)
20
 
   typedef unsigned __int64 u64bit;
21
 
#elif defined(__KCC)
22
 
   typedef unsigned __long_long u64bit;
23
 
#elif defined(__GNUG__)
24
 
   __extension__ typedef unsigned long long u64bit;
25
 
#else
26
 
   typedef unsigned long long u64bit;
27
 
#endif
28
 
 
29
 
}
30
 
 
31
 
namespace Botan_types {
32
 
 
33
 
typedef Botan::byte byte;
34
 
typedef Botan::u32bit u32bit;
35
 
 
36
 
}
37
 
 
38
 
#endif