core: macros: fix bad return type on unref() function template
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
{ \
|
||||
return b_object_ref(p); \
|
||||
} \
|
||||
static inline name *name##_unref(name *p) \
|
||||
static inline void name##_unref(name *p) \
|
||||
{ \
|
||||
b_object_unref(p); \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user