Files
neovim/src/nvim/profile.h
Justin M. Keyes 06af88cd72 viml/reltime(): allow negative result #10453
- define proftime_T as signed integer
- profile_sub(): allow negative result

closes #10452
2019-07-09 12:08:54 +02:00

18 lines
309 B
C

#ifndef NVIM_PROFILE_H
#define NVIM_PROFILE_H
#include <stdint.h>
#include <time.h>
typedef int64_t proftime_T;
#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
#endif // NVIM_PROFILE_H