mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	move assert.h include out of vim.h
This commit is contained in:
		 Brandon Coleman
					Brandon Coleman
				
			
				
					committed by
					
						 Nicolas Hillegeer
						Nicolas Hillegeer
					
				
			
			
				
	
			
			
			 Nicolas Hillegeer
						Nicolas Hillegeer
					
				
			
						parent
						
							8cc8164e52
						
					
				
				
					commit
					e69cfa6c15
				
			| @@ -88,6 +88,7 @@ output = io.open(outputf, 'wb') | |||||||
| output:write([[ | output:write([[ | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
|  | #include <assert.h> | ||||||
| #include <msgpack.h> | #include <msgpack.h> | ||||||
|  |  | ||||||
| #include "nvim/os/msgpack_rpc.h" | #include "nvim/os/msgpack_rpc.h" | ||||||
|   | |||||||
| @@ -1,3 +1,4 @@ | |||||||
|  | #include <assert.h> | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
|  |  | ||||||
| #include "nvim/vim.h" | #include "nvim/vim.h" | ||||||
|   | |||||||
| @@ -1,3 +1,4 @@ | |||||||
|  | #include <assert.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|   | |||||||
| @@ -1,3 +1,4 @@ | |||||||
|  | #include <assert.h> | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
|   | |||||||
| @@ -2,6 +2,7 @@ | |||||||
| /// | /// | ||||||
| /// Code related to character sets. | /// Code related to character sets. | ||||||
|  |  | ||||||
|  | #include <assert.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <wctype.h> | #include <wctype.h> | ||||||
| #include <wchar.h>  // for towupper() and towlower() | #include <wchar.h>  // for towupper() and towlower() | ||||||
|   | |||||||
| @@ -10,9 +10,10 @@ | |||||||
|  * edit.c: functions for Insert mode |  * edit.c: functions for Insert mode | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
|  | #include <assert.h> | ||||||
|  | #include <string.h> | ||||||
| #include <inttypes.h> | #include <inttypes.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <string.h> |  | ||||||
|  |  | ||||||
| #include "nvim/vim.h" | #include "nvim/vim.h" | ||||||
| #include "nvim/ascii.h" | #include "nvim/ascii.h" | ||||||
|   | |||||||
| @@ -18,6 +18,7 @@ | |||||||
| /// of the entries is empty to keep the lookup efficient (at the cost of extra | /// of the entries is empty to keep the lookup efficient (at the cost of extra | ||||||
| /// memory). | /// memory). | ||||||
|  |  | ||||||
|  | #include <assert.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <inttypes.h> | #include <inttypes.h> | ||||||
|   | |||||||
| @@ -9,6 +9,7 @@ | |||||||
|  */ |  */ | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
|  |  | ||||||
|  | #include <assert.h> | ||||||
| #include <inttypes.h> | #include <inttypes.h> | ||||||
|  |  | ||||||
| #include "nvim/vim.h" | #include "nvim/vim.h" | ||||||
|   | |||||||
| @@ -10,6 +10,7 @@ | |||||||
|  * mark.c: functions for setting marks and jumping to them |  * mark.c: functions for setting marks and jumping to them | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
|  | #include <assert.h> | ||||||
| #include <inttypes.h> | #include <inttypes.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,4 @@ | |||||||
|  | #include <assert.h> | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
|   | |||||||
| @@ -1,6 +1,8 @@ | |||||||
| // fs.c -- filesystem access | // fs.c -- filesystem access | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
|  |  | ||||||
|  | #include <assert.h> | ||||||
|  |  | ||||||
| #include "nvim/os/os.h" | #include "nvim/os/os.h" | ||||||
| #include "nvim/ascii.h" | #include "nvim/ascii.h" | ||||||
| #include "nvim/memory.h" | #include "nvim/memory.h" | ||||||
|   | |||||||
| @@ -1,3 +1,4 @@ | |||||||
|  | #include <assert.h> | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
|   | |||||||
| @@ -1,3 +1,4 @@ | |||||||
|  | #include <assert.h> | ||||||
| #include <uv.h> | #include <uv.h> | ||||||
|  |  | ||||||
| #include "nvim/os/uv_helpers.h" | #include "nvim/os/uv_helpers.h" | ||||||
|   | |||||||
| @@ -1,3 +1,4 @@ | |||||||
|  | #include <assert.h> | ||||||
| #include <stdint.h> | #include <stdint.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,4 +1,5 @@ | |||||||
|  |  | ||||||
|  | #include <assert.h> | ||||||
| #include <inttypes.h> | #include <inttypes.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
|   | |||||||
| @@ -10,6 +10,7 @@ | |||||||
|  * syntax.c: code for syntax highlighting |  * syntax.c: code for syntax highlighting | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
|  | #include <assert.h> | ||||||
| #include <inttypes.h> | #include <inttypes.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
|   | |||||||
| @@ -94,7 +94,6 @@ typedef uint32_t u8char_T; | |||||||
|  |  | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
|  |  | ||||||
| #include <assert.h> |  | ||||||
|  |  | ||||||
| #include <stdarg.h> | #include <stdarg.h> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,6 +6,7 @@ | |||||||
|  * See README.txt for an overview of the Vim source code. |  * See README.txt for an overview of the Vim source code. | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
|  | #include <assert.h> | ||||||
| #include <inttypes.h> | #include <inttypes.h> | ||||||
|  |  | ||||||
| #include "nvim/api/private/handle.h" | #include "nvim/api/private/handle.h" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user