summaryrefslogtreecommitdiff
path: root/girepository/cmph/cmph_types.h
blob: de1c082ee077942c8436b0e273c35f59ef85a481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __CMPH_TYPES_H__
#define __CMPH_TYPES_H__

/* INTROSPECTION: Modified to use the GLib typedefs */
#include <glib.h>

typedef gint8 cmph_int8;
typedef guint8 cmph_uint8;

typedef gint16 cmph_int16;
typedef guint16 cmph_uint16;

typedef gint32 cmph_int32;
typedef guint32 cmph_uint32;

/** \typedef long cmph_int64;
 *  \brief 64-bit integer for a 64-bit achitecture.
 */
typedef gint64 cmph_int64;

/** \typedef unsigned long cmph_uint64;
 *  \brief Unsigned 64-bit integer for a 64-bit achitecture.
 */
typedef guint64 cmph_uint64;

typedef enum { CMPH_HASH_JENKINS, CMPH_HASH_COUNT } CMPH_HASH;
extern const char *cmph_hash_names[];
typedef enum { CMPH_BMZ, CMPH_BMZ8, CMPH_CHM, CMPH_BRZ, CMPH_FCH,
               CMPH_BDZ, CMPH_BDZ_PH,
               CMPH_CHD_PH, CMPH_CHD, CMPH_COUNT } CMPH_ALGO;
extern const char *cmph_names[];

#endif