bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Make it possible to call canonicalize_filename_mode from C++


From: Bruno Haible
Subject: Re: [PATCH] Make it possible to call canonicalize_filename_mode from C++.
Date: Tue, 28 May 2019 23:06:45 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; )

Hi James,

> diff --git a/lib/canonicalize.h b/lib/canonicalize.h
> index 2ffa1f681..d21b5b203 100644
> --- a/lib/canonicalize.h
> +++ b/lib/canonicalize.h
> @@ -21,6 +21,10 @@
>  
>  #define CAN_MODE_MASK (CAN_EXISTING | CAN_ALL_BUT_LAST | CAN_MISSING)
>  
> +# ifdef __cplusplus
> +extern "C" {
> +# endif
> +
>  enum canonicalize_mode_t
>    {
>      /* All components must exist.  */
> ...

Thanks, applied (with no space after '#', to keep the indentation consistent
in the file).

Likewise for the second patch.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]