diff options
author | Josh Haberman <haberman@google.com> | 2013-05-11 16:45:38 -0700 |
---|---|---|
committer | Josh Haberman <haberman@google.com> | 2013-05-11 16:45:38 -0700 |
commit | cfdb9907cb87d15eaab72ceefbfa42fd7a4c3127 (patch) | |
tree | 63f5d70ad64daeeb4ffc777c2c3afd50e2e281b1 /upb/bytestream.upb.c | |
parent | 7d3e2bd2c4cfd1296d1d6f996d7548de26540d41 (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.c')
-rw-r--r-- | upb/bytestream.upb.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/upb/bytestream.upb.c b/upb/bytestream.upb.c new file mode 100644 index 0000000..03388ab --- /dev/null +++ b/upb/bytestream.upb.c @@ -0,0 +1,40 @@ +// This file was generated by upbc (the upb compiler). +// Do not edit -- your changes will be discarded when the file is +// regenerated. + +#include "upb/def.h" + +const upb_msgdef upb_bytestream_msgs[1]; +const upb_fielddef upb_bytestream_fields[1]; +const upb_enumdef upb_bytestream_enums[0]; +const upb_tabent upb_bytestream_strentries[4]; +const upb_tabent upb_bytestream_intentries[0]; +const _upb_value upb_bytestream_arrays[3]; + +const upb_msgdef upb_bytestream_msgs[1] = { + UPB_MSGDEF_INIT("upb.ByteStream", UPB_INTTABLE_INIT(0, 0, 9, 0, NULL, &upb_bytestream_arrays[0], 3, 1), UPB_STRTABLE_INIT(1, 3, 9, 2, &upb_bytestream_strentries[0]), 3), +}; + +const upb_fielddef upb_bytestream_fields[1] = { + UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BYTES, 0, false, "bytes", 1, &upb_bytestream_msgs[0], NULL, 0, UPB_VALUE_INIT_NONE), +}; + +const upb_enumdef upb_bytestream_enums[0] = { +}; + +const upb_tabent upb_bytestream_strentries[4] = { + {UPB_TABKEY_NONE, UPB__VALUE_INIT_NONE, NULL}, + {UPB_TABKEY_NONE, UPB__VALUE_INIT_NONE, NULL}, + {UPB_TABKEY_NONE, UPB__VALUE_INIT_NONE, NULL}, + {UPB_TABKEY_STR("bytes"), UPB_VALUE_INIT_CONSTPTR(&upb_bytestream_fields[0]), NULL}, +}; + +const upb_tabent upb_bytestream_intentries[0] = { +}; + +const _upb_value upb_bytestream_arrays[3] = { + UPB_ARRAY_EMPTYENT, + UPB_VALUE_INIT_CONSTPTR(&upb_bytestream_fields[0]), + UPB_ARRAY_EMPTYENT, +}; + |