Searched refs:class_name (Results 1 – 1 of 1) sorted by relevance
126 #define NW_RES_CTOR_ALIGN(class_name, align) \ argument127 typedef class_name SelfType; /*!< :private */ \128 typedef class_name##Data ResDataType; /*!< :private */ \131 /* ctor */ explicit class_name(const void *p = NULL) \132 : nw::ut::ResCommon<class_name##Data>(p) { NW_ASSERT(!((u32)p & ((align)-1))); } \134 class_name##Data& ref() \139 const class_name##Data& ref() const \146 return #class_name; \149 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \151 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \[all …]