summaryrefslogtreecommitdiff
path: root/gob.h
blob: 4cb0c900c2f666a2276cc5e08b782de62bfa13ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _GOB_H
#define _GOB_H

#define GOB_BOOL_ID            (1)
#define GOB_INT_ID             (2)
#define GOB_UINT_ID            (3)
#define GOB_FLOAT_ID           (4)
#define GOB_BYTE_SLICE_ID      (5)
#define GOB_STRING_ID          (6)
#define GOB_COMPLEX_ID         (7)
#define GOB_INTERFACE_ID       (8)
// gap for reserved ids.
#define GOB_WIRETYPE_ID        (16)
#define GOB_ARRAYTYPE_ID       (17)
#define GOB_COMMONTYPE_ID      (18)
#define GOB_SLICETYPE_ID       (19)
#define GOB_STRUCTTYPE_ID      (20)
#define GOB_FIELDTYPE_ID       (21)
#define GOB_FIELDTYPE_SLICE_ID (22)
#define GOB_MAPTYPE_ID         (23)

#endif