add ".hh" as an extension for source scripts.
This commit is contained in:
@@ -75,12 +75,12 @@ def is_cmake(filename):
|
|||||||
|
|
||||||
def is_c_header(filename):
|
def is_c_header(filename):
|
||||||
ext = splitext(filename)[1]
|
ext = splitext(filename)[1]
|
||||||
return (ext in (".h", ".hpp", ".hxx"))
|
return (ext in {".h", ".hpp", ".hxx", ".hh"})
|
||||||
|
|
||||||
|
|
||||||
def is_c(filename):
|
def is_c(filename):
|
||||||
ext = splitext(filename)[1]
|
ext = splitext(filename)[1]
|
||||||
return (ext in (".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc", ".inl"))
|
return (ext in {".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc", ".inl"})
|
||||||
|
|
||||||
|
|
||||||
def is_c_any(filename):
|
def is_c_any(filename):
|
||||||
|
@@ -97,7 +97,7 @@ def is_cmake(filename):
|
|||||||
|
|
||||||
def is_c_header(filename):
|
def is_c_header(filename):
|
||||||
ext = splitext(filename)[1]
|
ext = splitext(filename)[1]
|
||||||
return (ext in (".h", ".hpp", ".hxx"))
|
return (ext in {".h", ".hpp", ".hxx", ".hh"})
|
||||||
|
|
||||||
|
|
||||||
def is_py(filename):
|
def is_py(filename):
|
||||||
|
@@ -43,7 +43,7 @@ SOURCE_DIR = abspath(SOURCE_DIR)
|
|||||||
|
|
||||||
def is_c_header(filename):
|
def is_c_header(filename):
|
||||||
ext = os.path.splitext(filename)[1]
|
ext = os.path.splitext(filename)[1]
|
||||||
return (ext in (".h", ".hpp", ".hxx"))
|
return (ext in {".h", ".hpp", ".hxx", ".hh"})
|
||||||
|
|
||||||
|
|
||||||
def is_c(filename):
|
def is_c(filename):
|
||||||
|
@@ -20,9 +20,6 @@
|
|||||||
|
|
||||||
#include "MEM_guardedalloc.h"
|
#include "MEM_guardedalloc.h"
|
||||||
|
|
||||||
#include "DNA_object_types.h"
|
|
||||||
|
|
||||||
#include "BLI_array.h"
|
|
||||||
#include "BLI_buffer.h"
|
#include "BLI_buffer.h"
|
||||||
#include "BLI_ghash.h"
|
#include "BLI_ghash.h"
|
||||||
#include "BLI_heap.h"
|
#include "BLI_heap.h"
|
||||||
|
@@ -35,7 +35,7 @@ typedef struct {
|
|||||||
* union'd structs */
|
* union'd structs */
|
||||||
struct PBVHNode {
|
struct PBVHNode {
|
||||||
/* Opaque handle for drawing code */
|
/* Opaque handle for drawing code */
|
||||||
GPU_Buffers *draw_buffers;
|
struct GPU_Buffers *draw_buffers;
|
||||||
|
|
||||||
/* Voxel bounds */
|
/* Voxel bounds */
|
||||||
BB vb;
|
BB vb;
|
||||||
|
@@ -31,12 +31,12 @@ SKIP_DIRS = ("extern",
|
|||||||
|
|
||||||
def is_c_header(filename):
|
def is_c_header(filename):
|
||||||
ext = splitext(filename)[1]
|
ext = splitext(filename)[1]
|
||||||
return (ext in (".h", ".hpp", ".hxx"))
|
return (ext in {".h", ".hpp", ".hxx", ".hh"})
|
||||||
|
|
||||||
|
|
||||||
def is_c(filename):
|
def is_c(filename):
|
||||||
ext = splitext(filename)[1]
|
ext = splitext(filename)[1]
|
||||||
return (ext in (".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc", ".inl"))
|
return (ext in {".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc", ".inl"})
|
||||||
|
|
||||||
|
|
||||||
def is_c_any(filename):
|
def is_c_any(filename):
|
||||||
|
Reference in New Issue
Block a user