plugins: privatise `add_category_hint()`

this is to be used exclusively by the core. mistaken use in other
modules results in issues in help output, as just fixed for the mp4
module.
This commit is contained in:
Lyndon Brown 2019-04-13 19:08:24 +01:00
parent 566a731711
commit 3a82d263b5
1 changed files with 2 additions and 0 deletions

View File

@ -374,8 +374,10 @@ VLC_METADATA_EXPORTS
#define set_section( text, longtext ) \
add_typedesc_inner( CONFIG_SECTION, text, longtext )
#ifndef __PLUGIN__
#define add_category_hint(text, longtext) \
add_typedesc_inner( CONFIG_HINT_CATEGORY, text, longtext )
#endif
#define add_string( name, value, text, longtext, advc ) \
add_string_inner(CONFIG_ITEM_STRING, name, text, longtext, value)