summaryrefslogtreecommitdiff
path: root/gob.h
diff options
context:
space:
mode:
authorGraham Miller <graham.miller@gmail.com>2011-01-14 13:40:52 -0500
committerGraham Miller <graham.miller@gmail.com>2011-01-14 13:40:52 -0500
commit8f922d174e08026120363533dbf48349266ee7cb (patch)
tree3439022d0a226e93fec1b2ba284c7767843c256e /gob.h
downloadlibgob-8f922d174e08026120363533dbf48349266ee7cb.tar.gz
libgob-8f922d174e08026120363533dbf48349266ee7cb.tar.bz2
Added tag 0.1 for changeset 74f74c375a95
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