aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/types.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-07-16 17:07:58 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-07-16 17:07:58 -0400
commit0897277af8ef283e5a6f28d69cf21a3d22e5b8b2 (patch)
tree47a2797793b037e5badc28a7332c3a4ec314466c /src/nvim/types.h
parent90a206d3321dcf8b1ad362501cada5e80135891c (diff)
parent7c6079f6f0d0fc59dd747c2ecd9e1e1ca1e0e66d (diff)
downloadrneovim-0897277af8ef283e5a6f28d69cf21a3d22e5b8b2.tar.gz
rneovim-0897277af8ef283e5a6f28d69cf21a3d22e5b8b2.tar.bz2
rneovim-0897277af8ef283e5a6f28d69cf21a3d22e5b8b2.zip
Merge pull request #941 from aktau/improve-luajit-ffi-preproc
refactor includes + improve testing infrastructure
Diffstat (limited to 'src/nvim/types.h')
-rw-r--r--src/nvim/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/types.h b/src/nvim/types.h
index 3bc6bfb9bf..ad905aa95b 100644
--- a/src/nvim/types.h
+++ b/src/nvim/types.h
@@ -10,6 +10,14 @@
#include <stdint.h>
+// dummy to pass an ACL to a function
+typedef void *vim_acl_T;
+
+// Make sure long_u is big enough to hold a pointer.
+// On Win64, longs are 32 bits and pointers are 64 bits.
+// For printf() and scanf(), we need to take care of long_u specifically.
+typedef unsigned long long_u;
+
/*
* Shorthand for unsigned variables. Many systems, but not all, have u_char
* already defined, so we use char_u to avoid trouble.