diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-02 11:24:02 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-02 11:24:02 -0300 |
commit | cab8cf970c09ea465d30e11eb356e2e5d37dc544 (patch) | |
tree | 5d274c892e4d53f5e976ae8f6f58aba030785e02 /src/nvim/log.h | |
parent | 52a9a5b0b0c53a1481d901f39ed0d1e7e86c3853 (diff) | |
parent | 4aecb71b0e819aa84a430dacdab2146229c410a5 (diff) | |
download | rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.tar.gz rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.tar.bz2 rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.zip |
Merge pull request #710 'Automatically generate declarations'
Diffstat (limited to 'src/nvim/log.h')
-rw-r--r-- | src/nvim/log.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/nvim/log.h b/src/nvim/log.h index 4177a0a3d5..6d97304af4 100644 --- a/src/nvim/log.h +++ b/src/nvim/log.h @@ -3,16 +3,11 @@ #include <stdbool.h> -#include "nvim/func_attr.h" - #define DEBUG_LOG_LEVEL 0 #define INFO_LOG_LEVEL 1 #define WARNING_LOG_LEVEL 2 #define ERROR_LOG_LEVEL 3 -bool do_log(int log_level, const char *func_name, int line_num, - const char* fmt, ...) FUNC_ATTR_UNUSED; - #define DLOG(...) #define ILOG(...) #define WLOG(...) @@ -53,5 +48,7 @@ bool do_log(int log_level, const char *func_name, int line_num, #endif +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "log.h.generated.h" +#endif #endif // NVIM_LOG_H - |