Why not use EINA_DEPRECATED like we do all over the place?

On 01/06/15 10:46, Vincent Torri wrote:
> cedric pushed a commit to branch master.
>
> http://git.enlightenment.org/core/efl.git/commit/?id=ae3b5a8f9b3fc4fc67245d92f087d418e36a934c
>
> commit ae3b5a8f9b3fc4fc67245d92f087d418e36a934c
> Author: Vincent Torri <vincent.to...@gmail.com>
> Date:   Wed May 20 06:18:43 2015 +0200
>
>      evil: deprecate evil_tmpdir_get() and evil_homedir_get().
>
>      Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
> ---
>   src/lib/evil/evil_util.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/lib/evil/evil_util.h b/src/lib/evil/evil_util.h
> index d511a7e..8392d96 100644
> --- a/src/lib/evil/evil_util.h
> +++ b/src/lib/evil/evil_util.h
> @@ -84,7 +84,7 @@ EAPI char *evil_last_error_get(void);
>    *
>    * @ingroup Evil
>    */
> -EAPI const char *evil_tmpdir_get(void);
> +__attribute__ ((__deprecated__)) EAPI const char *evil_tmpdir_get(void);
>
>   /**
>    * @brief Return a dir to store personal files.
> @@ -106,7 +106,7 @@ EAPI const char *evil_tmpdir_get(void);
>    *
>    * @ingroup Evil
>    */
> -EAPI const char *evil_homedir_get(void);
> +__attribute__ ((__deprecated__)) EAPI const char *evil_homedir_get(void);
>
>   /**
>    * @brief check if the given path is absolute.
>



------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to