core: object: implement rvalue object support
This commit is contained in:
@@ -157,3 +157,9 @@ void b_object_unref(struct _b_object *p)
|
||||
|
||||
free(p);
|
||||
}
|
||||
|
||||
struct _b_object *b_object_make_rvalue(struct _b_object *p)
|
||||
{
|
||||
p->obj_ref = 0;
|
||||
return p;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user