aravis icon indicating copy to clipboard operation
aravis copied to clipboard

arv_debug_print_infos() as part of the public interface

Open gotnone opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Currently arv_debug_print_infos() is contained in the header arvdebugprivate.h. It is not available to end users in the PkgConfig includes directories

Describe the solution you'd like Have arv_debug_print_infos() accessible through a public header.

Describe alternatives you've considered Trying to maintain a duplicate copy in my code.

Additional context The arv-tool and arv-test programs offer help with the debug domain string if you pass --debug=help on the command line. It may be nice for end users to offer this debug help capability as well.

gotnone avatar Nov 22 '22 18:11 gotnone

This function is really only for aravis internal use. I would prefer to not make it public. What we could add instead is an API that lists the debug domains:

unsigned int arv_get_n_debug_categories (void);
void arv_get_debug_category_infos (unsigned int id, const char **name, const char **description);

Merge request appreciated.

EmmanuelP avatar Dec 01 '22 10:12 EmmanuelP