mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
eval: Split out typval_T dumping functions to nvim/encode.c
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
#ifndef NVIM_MACROS_H
|
||||
#define NVIM_MACROS_H
|
||||
|
||||
// EXTERN is only defined in main.c. That's where global variables are
|
||||
// actually defined and initialized.
|
||||
#ifndef EXTERN
|
||||
# define EXTERN extern
|
||||
# define INIT(...)
|
||||
#else
|
||||
# ifndef INIT
|
||||
# define INIT(...) __VA_ARGS__
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef MIN
|
||||
# define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user