Introduce nvim namespace: Fix project-local includes.

Prepend 'nvim/' in all project-local (non-system) includes.
This commit is contained in:
Eliseo Martínez
2014-05-12 11:59:22 +02:00
parent e731a5edf8
commit 409cc138f2
134 changed files with 1664 additions and 1664 deletions

View File

@@ -3,21 +3,21 @@
#include <stdint.h>
#include <stdlib.h>
#include "api/buffer.h"
#include "api/helpers.h"
#include "api/defs.h"
#include "vim.h"
#include "buffer.h"
#include "memline.h"
#include "memory.h"
#include "misc1.h"
#include "misc2.h"
#include "ex_cmds.h"
#include "mark.h"
#include "fileio.h"
#include "move.h"
#include "window.h"
#include "undo.h"
#include "nvim/api/buffer.h"
#include "nvim/api/helpers.h"
#include "nvim/api/defs.h"
#include "nvim/vim.h"
#include "nvim/buffer.h"
#include "nvim/memline.h"
#include "nvim/memory.h"
#include "nvim/misc1.h"
#include "nvim/misc2.h"
#include "nvim/ex_cmds.h"
#include "nvim/mark.h"
#include "nvim/fileio.h"
#include "nvim/move.h"
#include "nvim/window.h"
#include "nvim/undo.h"
// Find a window that contains "buf" and switch to it.
// If there is no such window, use the current window and change "curbuf".

View File

@@ -4,7 +4,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "api/defs.h"
#include "nvim/api/defs.h"
/// Gets the buffer line count
///

View File

@@ -2,17 +2,17 @@
#include <stdlib.h>
#include <string.h>
#include "api/helpers.h"
#include "api/defs.h"
#include "vim.h"
#include "buffer.h"
#include "window.h"
#include "memory.h"
#include "eval.h"
#include "option.h"
#include "option_defs.h"
#include "nvim/api/helpers.h"
#include "nvim/api/defs.h"
#include "nvim/vim.h"
#include "nvim/buffer.h"
#include "nvim/window.h"
#include "nvim/memory.h"
#include "nvim/eval.h"
#include "nvim/option.h"
#include "nvim/option_defs.h"
#include "lib/khash.h"
#include "nvim/lib/khash.h"
#if defined(ARCH_64)
typedef uint64_t ptr_int_t;

View File

@@ -3,8 +3,8 @@
#include <stdbool.h>
#include "api/defs.h"
#include "vim.h"
#include "nvim/api/defs.h"
#include "nvim/vim.h"
#define set_api_error(message, err) \
do { \

View File

@@ -2,10 +2,10 @@
#include <stdint.h>
#include <stdlib.h>
#include "api/tabpage.h"
#include "api/vim.h"
#include "api/defs.h"
#include "api/helpers.h"
#include "nvim/api/tabpage.h"
#include "nvim/api/vim.h"
#include "nvim/api/defs.h"
#include "nvim/api/helpers.h"
int64_t tabpage_get_window_count(Tabpage tabpage, Error *err)
{

View File

@@ -4,7 +4,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "api/defs.h"
#include "nvim/api/defs.h"
/// Gets the number of windows in a tabpage
///

View File

@@ -3,21 +3,21 @@
#include <stdlib.h>
#include <string.h>
#include "api/vim.h"
#include "api/helpers.h"
#include "api/defs.h"
#include "api/buffer.h"
#include "vim.h"
#include "buffer.h"
#include "window.h"
#include "types.h"
#include "ascii.h"
#include "ex_docmd.h"
#include "screen.h"
#include "memory.h"
#include "message.h"
#include "eval.h"
#include "misc2.h"
#include "nvim/api/vim.h"
#include "nvim/api/helpers.h"
#include "nvim/api/defs.h"
#include "nvim/api/buffer.h"
#include "nvim/vim.h"
#include "nvim/buffer.h"
#include "nvim/window.h"
#include "nvim/types.h"
#include "nvim/ascii.h"
#include "nvim/ex_docmd.h"
#include "nvim/screen.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/eval.h"
#include "nvim/misc2.h"
#define LINE_BUFFER_SIZE 4096

View File

@@ -4,7 +4,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "api/defs.h"
#include "nvim/api/defs.h"
/// Send keys to vim input buffer, simulating user input.
///

View File

@@ -2,13 +2,13 @@
#include <stdint.h>
#include <stdlib.h>
#include "api/window.h"
#include "api/defs.h"
#include "api/helpers.h"
#include "vim.h"
#include "window.h"
#include "screen.h"
#include "misc2.h"
#include "nvim/api/window.h"
#include "nvim/api/defs.h"
#include "nvim/api/helpers.h"
#include "nvim/vim.h"
#include "nvim/window.h"
#include "nvim/screen.h"
#include "nvim/misc2.h"
Buffer window_get_buffer(Window window, Error *err)

View File

@@ -4,7 +4,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "api/defs.h"
#include "nvim/api/defs.h"
/// Gets the current buffer in a window
///