From 7b78b908f8c63ce7f7e06fccf202aff9c810da1a Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 29 Oct 2019 19:34:00 +0200 Subject: [PATCH] include: update comment --- src/include/tc_module.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/tc_module.h b/src/include/tc_module.h index d250e36..142410b 100644 --- a/src/include/tc_module.h +++ b/src/include/tc_module.h @@ -12,7 +12,7 @@ extern "C" { // Categories for modules. enum tc_module_category { TC_CATEGORY_ASSIGNABLE, - TC_CATEGORY_PROPERTY, + TC_CATEGORY_READABLE, TC_CATEGORY_INTERFACE }; @@ -56,7 +56,7 @@ typedef struct tc_module_t { // Try to return the module handle matching the category and name. If it doesn't exist or there was a problem loading the module, returns NULL. tc_module_t *tc_module_find(enum tc_module_category category, const char *name); -// Try to return all module handles matching 'category' +// Try to return all module handles matching 'category'. The return value needs to be freed in addition to tc_module_close() tc_module_t **tc_module_find_all_from_category(enum tc_module_category category, uint16_t *count); // Close the module after successful find