Introduce nvim namespace: Fix define guards.

Change define guards from NEOVIM_XXX_H to NVIM_XXX_H:
- Change header files.
- Change clint correct guard name calculation.
This commit is contained in:
Eliseo Martínez
2014-05-13 01:36:11 +02:00
parent 71c79b5b70
commit 5f795225dc
109 changed files with 321 additions and 321 deletions

View File

@@ -1038,7 +1038,7 @@ def GetHeaderGuardCPPVariable(filename):
fileinfo = FileInfo(filename)
file_path_from_root = fileinfo.RelativePath()
return 'NEOVIM_' + re.sub(r'[-./\s]', '_', file_path_from_root).upper()
return 'NVIM_' + re.sub(r'[-./\s]', '_', file_path_from_root).upper()
def CheckForHeaderGuard(filename, lines, error):