| 150 | } |
| 151 | |
| 152 | static inline void pni_class_decref(const pn_class_t *clazz, void *object) { |
| 153 | if (clazz->decref) { |
| 154 | clazz->decref(object); |
| 155 | } else { |
| 156 | pni_default_decref(object); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | static inline int pni_class_refcount(const pn_class_t *clazz, void *object) { |
| 161 | if (clazz->refcount) { |
no test coverage detected