From 26d98ca94f2f049e8767b4a9a33d185a3d7ea0fd Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Thu, 24 Oct 2013 12:43:19 -0700 Subject: 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. --- upb/symtab.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'upb/symtab.h') 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); -- cgit v1.2.3