[vlc-devel] [PATCH] include/vlc_plugin.h: fixed problematic linkage on callback argument
Rémi Denis-Courmont
remi at remlab.net
Mon Feb 22 20:07:39 CET 2016
Le 2016-02-22 18:28, Filip Roséen a écrit :
> diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
> index 46abe4e..950f6ad 100644
> --- a/include/vlc_plugin.h
> +++ b/include/vlc_plugin.h
> @@ -234,7 +234,7 @@ enum vlc_module_properties
> # define EXTERN_SYMBOL
> #endif
>
> -typedef int (*vlc_set_cb) (void *, void *, int, ...);
> +EXTERN_SYMBOL typedef int (*vlc_set_cb) (void *, void *, int, ...);
Does Doxygen understand (i.e. ignore) the EXTERN_SYMBOL stanza?
Otherwise I don't know if this is valid, not familiar enough with C++.
>
> #define vlc_plugin_set(...) vlc_set (opaque, NULL, __VA_ARGS__)
> #define vlc_module_set(...) vlc_set (opaque, module, __VA_ARGS__)
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list