From 3a303755c71503ece67ea5fde4821784ec08f40f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 19 Jan 2011 11:32:20 +0100 Subject: [PATCH] xbps_api.h: fix API comments for refcnts. --- include/xbps_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xbps_api.h b/include/xbps_api.h index 471006dc..f3341ed7 100644 --- a/include/xbps_api.h +++ b/include/xbps_api.h @@ -526,7 +526,7 @@ prop_dictionary_t xbps_regpkgdb_dictionary_get(void); * Release resources used by the registered packages database. * * @note This function is reference counted, if the database - * is in use (its reference count number is not 0), won't be released. + * is in use (its reference count number is greater than 1), won't be released. */ void xbps_regpkgdb_dictionary_release(void); @@ -728,7 +728,7 @@ int xbps_repository_pool_init(void); * in the database. * * @note This function is reference counted, it won't be released until - * its reference counter is 0. + * its reference counter is 1. */ void xbps_repository_pool_release(void);