Пример #1
0
 // The MessageHandlers will live at least as long as the upb::Handlers to
 // which it belongs, but can be Ref'd/Unref'd to make it live longer (which
 // will prolong the life of the underlying upb::Handlers also).
 void Ref()    {
     upb_mhandlers_ref(this);
 }
Пример #2
0
 // The MessageHandlers will live at least as long as the upb::Handlers to
 // which it belongs, but can be Ref'd/Unref'd to make it live longer (which
 // will prolong the life of the underlying upb::Handlers also).
 void Ref()   const { upb_mhandlers_ref(this); }