mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00

It is less error-prone than manually defining header guards. Pretty much all compilers support it even if it's not part of the C standard.
17 lines
307 B
C
17 lines
307 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <time.h>
|
|
|
|
#include "nvim/cmdexpand_defs.h"
|
|
#include "nvim/ex_cmds_defs.h"
|
|
#include "nvim/runtime.h"
|
|
|
|
#define TIME_MSG(s) do { \
|
|
if (time_fd != NULL) time_msg(s, NULL); \
|
|
} while (0)
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "profile.h.generated.h"
|
|
#endif
|