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