summaryrefslogtreecommitdiff
path: root/gob.h
diff options
context:
space:
mode:
authorGraham Miller <graham.miller@gmail.com>2011-01-14 13:20:41 -0500
committerGraham Miller <graham.miller@gmail.com>2011-01-14 13:20:41 -0500
commite2b7f01dfc654fb4407e83ea1be57974a3ef493a (patch)
tree4e723404cb00c7ac660d6f45be275dc092046784 /gob.h
downloadlibgob-e2b7f01dfc654fb4407e83ea1be57974a3ef493a.tar.gz
libgob-e2b7f01dfc654fb4407e83ea1be57974a3ef493a.tar.bz2
initial commit
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