aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-08-21 00:20:01 +0300
committerZyX <kp-pav@yandex.ru>2017-03-29 10:07:43 +0300
commit5cdf7177ec71e4b9b3295ead93bedf7ff226a2b2 (patch)
treec8ad8b61d42f667790cc3edae529e762e0e2ec13 /src/nvim/vim.h
parent2dcfc439b2ec2be4d830826061e89860977516be (diff)
downloadrneovim-5cdf7177ec71e4b9b3295ead93bedf7ff226a2b2.tar.gz
rneovim-5cdf7177ec71e4b9b3295ead93bedf7ff226a2b2.tar.bz2
rneovim-5cdf7177ec71e4b9b3295ead93bedf7ff226a2b2.zip
eval: Move get_float_arg to typval.h
Assuming `inline` is there for a reason, so it is kept and function was moved to typval.h and not to typval.c which does not have problems with #including message.h.
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index ae654251f9..e16ee00309 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -51,22 +51,7 @@ Error: configure did not run properly.Check auto/config.log.
/* ================ end of the header file puzzle =============== */
-#ifdef HAVE_WORKING_LIBINTL
-# include <libintl.h>
-# define _(x) gettext((char *)(x))
-// XXX do we actually need this?
-# ifdef gettext_noop
-# define N_(x) gettext_noop(x)
-# else
-# define N_(x) x
-# endif
-#else
-# define _(x) ((char *)(x))
-# define N_(x) x
-# define bindtextdomain(x, y) /* empty */
-# define bind_textdomain_codeset(x, y) /* empty */
-# define textdomain(x) /* empty */
-#endif
+#include "nvim/gettext.h"
/* special attribute addition: Put message in history */
#define MSG_HIST 0x1000