[vlc-devel] [PATCH 2/4] Fix NP_GetMIMEDescription const check

Rafaël Carré funman at videolan.org
Sun Dec 30 23:58:49 CET 2012


Le 30/12/2012 21:51, Cheng Sun a écrit :

The commit log is a bit light.

> ---
>  configure.ac | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 3ba5548..10c5295 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -209,7 +209,7 @@ AM_CONDITIONAL(FETCH_NPAPI, [ test "${have_headers}" != "true" ])
>  
>  dnl
>  dnl check the const-ness of GetMIMEDesc, since it changed in latest npapi headers
> -AC_MSG_CHECKING([if NPP_GetMIMEDescription() returns const])
> +AC_MSG_CHECKING([if NP_GetMIMEDescription() returns const])


git grep NPP_GET_MIME_CONST shows both functions are used: NP_ prefix
and NPP_ prefix.

Why is checking one better than the other?

When is one returning const and not the other?



More information about the vlc-devel mailing list