diff options
author | Josh Haberman <jhaberman@gmail.com> | 2013-10-24 12:43:19 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2013-10-24 12:43:19 -0700 |
commit | 26d98ca94f2f049e8767b4a9a33d185a3d7ea0fd (patch) | |
tree | 340bcf495f06ed05c9f3fb423f210caf4edce2b1 /upb/symtab.h | |
parent | 61109fca1f967771c21dc7184aee35f3b439c577 (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.h | 4 |
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); |