summaryrefslogtreecommitdiff
path: root/upb/bytestream.upb.h
diff options
context:
space:
mode:
authorJosh Haberman <haberman@google.com>2013-05-11 16:45:38 -0700
committerJosh Haberman <haberman@google.com>2013-05-11 16:45:38 -0700
commitcfdb9907cb87d15eaab72ceefbfa42fd7a4c3127 (patch)
tree63f5d70ad64daeeb4ffc777c2c3afd50e2e281b1 /upb/bytestream.upb.h
parent7d3e2bd2c4cfd1296d1d6f996d7548de26540d41 (diff)
Synced with 3 months of Google-internal development.
Major changes: - Got rid of all bytestream interfaces in favor of using regular handlers. - new Pipeline object represents a upb pipeline, does bump allocation internally to manage memory. - proto2 support now can handle extensions.
Diffstat (limited to 'upb/bytestream.upb.h')
-rw-r--r--upb/bytestream.upb.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/upb/bytestream.upb.h b/upb/bytestream.upb.h
new file mode 100644
index 0000000..304c426
--- /dev/null
+++ b/upb/bytestream.upb.h
@@ -0,0 +1,37 @@
+// This file was generated by upbc (the upb compiler).
+// Do not edit -- your changes will be discarded when the file is
+// regenerated.
+
+#ifndef UPB_BYTESTREAM_UPB_H_
+#define UPB_BYTESTREAM_UPB_H_
+
+#include "upb/def.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+// Enums
+
+// Do not refer to these forward declarations; use the constants
+// below.
+extern const upb_msgdef upb_bytestream_msgs[1];
+extern const upb_fielddef upb_bytestream_fields[1];
+extern const upb_enumdef upb_bytestream_enums[0];
+
+// Constants for references to defs.
+// We hide these behind macros to decouple users from the
+// details of how we have statically defined them (ie. whether
+// each def has its own symbol or lives in an array of defs).
+#define UPB_BYTESTREAM &upb_bytestream_msgs[0]
+
+// Selector definitions.
+#define UPB_BYTESTREAM_BYTES_ENDSTR 2
+#define UPB_BYTESTREAM_BYTES_STRING 0
+#define UPB_BYTESTREAM_BYTES_STARTSTR 1
+
+#ifdef __cplusplus
+}; // extern "C"
+#endif
+
+#endif // UPB_BYTESTREAM_UPB_H_
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback