Remove floating refs
This commit is contained in:
@ -192,7 +192,6 @@ void *refcount_context_unref(RefcountContext *ctx, void *obj);
|
||||
static inline void refcount_context_unref_as_callback(void *obj, void *ctx) {
|
||||
refcount_context_unref(ctx, obj);
|
||||
}
|
||||
void *refcount_context_float(RefcountContext *ctx, void *obj);
|
||||
|
||||
ptrdiff_t refcount_context_garbage_collect(RefcountContext *ctx);
|
||||
|
||||
@ -320,15 +319,6 @@ static inline void refcount_unref_as_callback(void *obj) {
|
||||
refcount_unref(obj);
|
||||
}
|
||||
|
||||
/**
|
||||
* Same as #refcount_context_float, but only operates on the global context.
|
||||
* @param obj The object
|
||||
* @return The input object
|
||||
*/
|
||||
static inline void *refcount_float(void *obj) {
|
||||
return refcount_context_float(refcount_default_context, obj);
|
||||
}
|
||||
|
||||
/**
|
||||
* Same as #refcount_context_garbage_collect, but only operates on the globa
|
||||
* context.
|
||||
|
Reference in New Issue
Block a user