hashtab.h: don't include vim.h

Including vim.h in another header filer is asking for trouble. Test code
that includes separate header files (e.g.: cimport './src/nvim/buffer.h'),
has a really bad time with this. This is just one piece of the puzzle
though.
This commit is contained in:
Nicolas Hillegeer 2014-07-06 16:54:59 +02:00
parent 90a206d332
commit 08fad0f8f6

View File

@ -1,7 +1,9 @@
#ifndef NVIM_HASHTAB_H #ifndef NVIM_HASHTAB_H
#define NVIM_HASHTAB_H #define NVIM_HASHTAB_H
#include "nvim/vim.h" #include <stddef.h>
#include "nvim/types.h"
/// Type for hash number (hash calculation result). /// Type for hash number (hash calculation result).
typedef size_t hash_T; typedef size_t hash_T;