Update documentation
This commit is contained in:
		| @ -178,7 +178,7 @@ static inline void refcount_context_unref_as_callback(void *obj, void *ctx) { | ||||
| } | ||||
| void *refcount_context_float(RefcountContext *ctx, void *obj); | ||||
|  | ||||
| bool refcount_context_garbage_collect(RefcountContext *ctx); | ||||
| ptrdiff_t refcount_context_garbage_collect(RefcountContext *ctx); | ||||
|  | ||||
| /** | ||||
|  * Same as #refcount_context_is_static, but only operates on the global | ||||
| @ -267,9 +267,9 @@ static inline void *refcount_float(void *obj) { | ||||
| /** | ||||
|  * Same as #refcount_context_garbage_collect, but only operates on the globa | ||||
|  * context. | ||||
|  * @return False if an error occured, true otherwise | ||||
|  * @return The number of object's freed, or -1 if an error occurred | ||||
|  */ | ||||
| static inline bool refcount_garbage_collect(void) { | ||||
| static inline ptrdiff_t refcount_garbage_collect(void) { | ||||
|     return refcount_context_garbage_collect(refcount_default_context); | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user