summaryrefslogtreecommitdiff
path: root/upb/google/bridge.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/google/bridge.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/google/bridge.h')
-rw-r--r--upb/google/bridge.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/upb/google/bridge.h b/upb/google/bridge.h
index 8a2256f..5091e23 100644
--- a/upb/google/bridge.h
+++ b/upb/google/bridge.h
@@ -66,9 +66,10 @@ namespace google {
//
// TODO(haberman): Add handler caching functionality so that we don't use
// O(n^2) memory in the worst case when incrementally building handlers.
-const upb::Handlers* NewWriteHandlers(const proto2::Message& m, void *owner);
+const upb::Handlers* NewWriteHandlers(const proto2::Message& m,
+ const void* owner);
const upb::Handlers* NewWriteHandlers(const ::google::protobuf::Message& m,
- void *owner);
+ const void* owner);
} // namespace google
} // namespace upb
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback