예제 #1
0
파일: handlers.hpp 프로젝트: kss-lin/upb
 // The FieldHandlers 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_fhandlers_ref(this);
 }
예제 #2
0
 // The FieldHandlers 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_fhandlers_ref(this); }