include: update comment

This commit is contained in:
jussi 2019-10-29 19:34:00 +02:00
parent 480015b107
commit 7b78b908f8

View File

@ -12,7 +12,7 @@ extern "C" {
// Categories for modules. // Categories for modules.
enum tc_module_category { enum tc_module_category {
TC_CATEGORY_ASSIGNABLE, TC_CATEGORY_ASSIGNABLE,
TC_CATEGORY_PROPERTY, TC_CATEGORY_READABLE,
TC_CATEGORY_INTERFACE 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. // 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); 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); tc_module_t **tc_module_find_all_from_category(enum tc_module_category category, uint16_t *count);
// Close the module after successful find // Close the module after successful find