From da3bdc379f632a5c7e8cf10a84e363de04b40279 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 4 Oct 2024 15:55:14 -0400 Subject: Add return values --- include/wheel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wheel.h') diff --git a/include/wheel.h b/include/wheel.h index 32e4238..b394b55 100644 --- a/include/wheel.h +++ b/include/wheel.h @@ -27,6 +27,8 @@ struct Wheel { * @param to_match a NULL terminated array of patterns (i.e. platform, arch, version, etc) * @param match_mode WHEEL_MATCH_EXACT * @param match_mode WHEEL_MATCH ANY + * @return pointer to populated Wheel on success + * @return NULL on error */ struct Wheel *get_wheel_info(const char *basepath, const char *name, char *to_match[], unsigned match_mode); void wheel_free(struct Wheel **wheel); -- cgit