summaryrefslogtreecommitdiff
path: root/upb/symtab.h
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2013-10-24 12:43:19 -0700
committerJosh Haberman <jhaberman@gmail.com>2013-10-24 12:43:19 -0700
commit26d98ca94f2f049e8767b4a9a33d185a3d7ea0fd (patch)
tree340bcf495f06ed05c9f3fb423f210caf4edce2b1 /upb/symtab.h
parent61109fca1f967771c21dc7184aee35f3b439c577 (diff)
Merge from Google-internal development:
- rewritten decoder; interpreted decoder is bytecode-based, JIT decoder no longer falls back to the interpreter. - C++ improvements: C++11-compatible iterators, upb::reffed_ptr for RAII refcounting, better upcast/downcast support. - removed the gross upb_value abstraction from public upb.h.
Diffstat (limited to 'upb/symtab.h')
-rw-r--r--upb/symtab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb/symtab.h b/upb/symtab.h
index 883324a..01d5cd0 100644
--- a/upb/symtab.h
+++ b/upb/symtab.h
@@ -154,9 +154,9 @@ inline SymbolTable* SymbolTable::New(const void* owner) {
return upb_symtab_new(owner);
}
-inline RefCounted* SymbolTable::Upcast() { return upb_upcast(this); }
+inline RefCounted* SymbolTable::Upcast() { return UPB_UPCAST(this); }
inline const RefCounted* SymbolTable::Upcast() const {
- return upb_upcast(this);
+ return UPB_UPCAST(this);
}
inline bool SymbolTable::IsFrozen() const {
return upb_symtab_isfrozen(this);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback