mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
Added a types.h with vim.h unsigned int typedefs.
This commit is contained in:

committed by
Thiago de Arruda

parent
3f29a02166
commit
007a19c497
20
src/types.h
Normal file
20
src/types.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/* vi:set ts=8 sts=4 sw=4:
|
||||
*
|
||||
* VIM - Vi IMproved by Bram Moolenaar
|
||||
*
|
||||
* Do ":help uganda" in Vim to read copying and usage conditions.
|
||||
* Do ":help credits" in Vim to see a list of people who contributed.
|
||||
*/
|
||||
|
||||
#ifndef NEOVIM_TYPES_H
|
||||
#define NEOVIM_TYPES_H
|
||||
|
||||
/*
|
||||
* Shorthand for unsigned variables. Many systems, but not all, have u_char
|
||||
* already defined, so we use char_u to avoid trouble.
|
||||
*/
|
||||
typedef unsigned char char_u;
|
||||
typedef unsigned short short_u;
|
||||
typedef unsigned int int_u;
|
||||
|
||||
#endif /* NEOVIM_TYPES_H */
|
Reference in New Issue
Block a user