summaryrefslogtreecommitdiff
path: root/gob.h
diff options
context:
space:
mode:
Diffstat (limited to 'gob.h')
-rw-r--r--gob.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/gob.h b/gob.h
new file mode 100644
index 0000000..4cb0c90
--- /dev/null
+++ b/gob.h
@@ -0,0 +1,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