diff options
| -rw-r--r-- | CMakeLists.txt | 28 | ||||
| -rwxr-xr-x | include/BH/Algo.h (renamed from include/bh/algo.h) | 2 | ||||
| -rw-r--r-- | include/BH/Common.h (renamed from include/bh/common.h) | 0 | ||||
| -rwxr-xr-x | include/BH/Hashmap.h (renamed from include/bh/hashmap.h) | 2 | ||||
| -rw-r--r-- | include/BH/IO.h (renamed from include/bh/io.h) | 2 | ||||
| -rw-r--r-- | include/BH/Math.h (renamed from include/bh/math.h) | 2 | ||||
| -rwxr-xr-x | include/BH/Queue.h (renamed from include/bh/queue.h) | 2 | ||||
| -rwxr-xr-x | src/Algo.c (renamed from src/algo.c) | 2 | ||||
| -rwxr-xr-x | src/Hashmap.c (renamed from src/hashmap.c) | 2 | ||||
| -rw-r--r-- | src/IO.c (renamed from src/io.c) | 2 | ||||
| -rw-r--r-- | src/Math.c (renamed from src/math.c) | 2 | ||||
| -rwxr-xr-x | src/Queue.c (renamed from src/queue.c) | 2 | ||||
| -rw-r--r-- | src/dummy/File.c (renamed from src/dummy/file.c) | 2 | ||||
| -rw-r--r-- | src/posix/File.c (renamed from src/posix/file.c) | 3 | ||||
| -rw-r--r-- | src/win32/File.c (renamed from src/win32/file.c) | 2 | ||||
| -rw-r--r-- | test/src/TestAlgo.c (renamed from test/src/testalgo.c) | 4 | ||||
| -rw-r--r-- | test/src/TestFile.c (renamed from test/src/testfile.c) | 4 | ||||
| -rw-r--r-- | test/src/TestHashmap.c (renamed from test/src/testhashmap.c) | 4 | ||||
| -rw-r--r-- | test/src/TestMath.c (renamed from test/src/testmath.c) | 4 | ||||
| -rw-r--r-- | test/src/TestQueue.c (renamed from test/src/testqueue.c) | 4 | ||||
| -rwxr-xr-x | unit/CMakeLists.txt | 4 | ||||
| -rwxr-xr-x | unit/include/BH/Unit.h (renamed from unit/include/bh/unit.h) | 0 | ||||
| -rwxr-xr-x | unit/src/Unit.c (renamed from unit/src/unit.c) | 2 |
23 files changed, 41 insertions, 40 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e2a50c..7af2e78 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,20 +66,20 @@ endif(TESTING) # Set library code set(BH_SOURCE - src/algo.c - src/hashmap.c - src/io.c - src/math.c - src/queue.c + src/Algo.c + src/Hashmap.c + src/IO.c + src/Math.c + src/Queue.c ) set(BH_HEADER - include/bh/common.h - include/bh/algo.h - include/bh/hashmap.h - include/bh/io.h - include/bh/math.h - include/bh/queue.h + include/BH/Common.h + include/BH/Algo.h + include/BH/Hashmap.h + include/BH/IO.h + include/BH/Math.h + include/BH/Queue.h ) set(BH_INCLUDE_DIRS @@ -93,21 +93,21 @@ if(WIN32) # Add platform dependent files list(APPEND BH_SOURCE - src/win32/file.c + src/win32/File.c ) elseif(UNIX) message(STATUS "Platform: Unix (Linux/BSD/MacOS X)") # Add platform dependent files list(APPEND BH_SOURCE - src/posix/file.c + src/posix/File.c ) else() message(STATUS "Platform: Unknown") # Add platform dependent files list(APPEND BH_SOURCE - src/dummy/file.c + src/dummy/File.c ) endif() diff --git a/include/bh/algo.h b/include/BH/Algo.h index 5d9bb36..2e5320e 100755 --- a/include/bh/algo.h +++ b/include/BH/Algo.h @@ -2,7 +2,7 @@ #define BH_ALGO_H -#include "common.h" +#include "Common.h" /** diff --git a/include/bh/common.h b/include/BH/Common.h index d4aadbe..d4aadbe 100644 --- a/include/bh/common.h +++ b/include/BH/Common.h diff --git a/include/bh/hashmap.h b/include/BH/Hashmap.h index d3710e4..615e747 100755 --- a/include/bh/hashmap.h +++ b/include/BH/Hashmap.h @@ -2,7 +2,7 @@ #define BH_HASHMAP_H -#include "common.h" +#include "Common.h" typedef struct BH_Hashmap BH_Hashmap; diff --git a/include/bh/io.h b/include/BH/IO.h index ee2da95..e0a2fea 100644 --- a/include/bh/io.h +++ b/include/BH/IO.h @@ -2,7 +2,7 @@ #define BH_IO_H -#include "common.h" +#include "Common.h" #define BH_IO_INFO_CB 0x0000 diff --git a/include/bh/math.h b/include/BH/Math.h index 5471a4a..badc092 100644 --- a/include/bh/math.h +++ b/include/BH/Math.h @@ -2,7 +2,7 @@ #define BH_MATH_H -#include "common.h" +#include "Common.h" /** diff --git a/include/bh/queue.h b/include/BH/Queue.h index f7b8b12..5d6af58 100755 --- a/include/bh/queue.h +++ b/include/BH/Queue.h @@ -2,7 +2,7 @@ #define BH_QUEUE_H -#include "common.h" +#include "Common.h" typedef struct BH_Queue BH_Queue; @@ -1,4 +1,4 @@ -#include <bh/algo.h> +#include <BH/Algo.h> #include <string.h> diff --git a/src/hashmap.c b/src/Hashmap.c index 989f101..ad8e7bd 100755 --- a/src/hashmap.c +++ b/src/Hashmap.c @@ -1,4 +1,4 @@ -#include <bh/hashmap.h> +#include <BH/Hashmap.h> #include <stdlib.h> #include <string.h> @@ -1,4 +1,4 @@ -#include <bh/io.h> +#include <BH/IO.h> #include <malloc.h> @@ -1,4 +1,4 @@ -#include <bh/math.h> +#include <BH/Math.h> #include <math.h> #include <string.h> diff --git a/src/queue.c b/src/Queue.c index 656d27d..4b9d06e 100755 --- a/src/queue.c +++ b/src/Queue.c @@ -1,4 +1,4 @@ -#include <bh/queue.h> +#include <BH/Queue.h> #include <stdlib.h> #include <string.h> diff --git a/src/dummy/file.c b/src/dummy/File.c index eab4c72..2cb1cd6 100644 --- a/src/dummy/file.c +++ b/src/dummy/File.c @@ -1,4 +1,4 @@ -#include <bh/io.h> +#include <BH/IO.h> typedef struct BH_File { diff --git a/src/posix/file.c b/src/posix/File.c index 87a5a2b..f8ee089 100644 --- a/src/posix/file.c +++ b/src/posix/File.c @@ -1,4 +1,5 @@ -#include <bh/io.h> +#include <BH/IO.h> + #include <fcntl.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/win32/file.c b/src/win32/File.c index bed16ab..3cb1972 100644 --- a/src/win32/file.c +++ b/src/win32/File.c @@ -1,4 +1,4 @@ -#include <bh/io.h> +#include <BH/IO.h> #include <stdio.h> #include <stdlib.h> #include <windows.h> diff --git a/test/src/testalgo.c b/test/src/TestAlgo.c index 63c1879..b330ee7 100644 --- a/test/src/testalgo.c +++ b/test/src/TestAlgo.c @@ -1,5 +1,5 @@ -#include <bh/algo.h> -#include <bh/unit.h> +#include <BH/Algo.h> +#include <BH/Unit.h> #include <string.h> #include <stdlib.h> diff --git a/test/src/testfile.c b/test/src/TestFile.c index 194b52a..8fae14c 100644 --- a/test/src/testfile.c +++ b/test/src/TestFile.c @@ -1,5 +1,5 @@ -#include <bh/unit.h> -#include <bh/io.h> +#include <BH/IO.h> +#include <BH/Unit.h> #include <string.h> diff --git a/test/src/testhashmap.c b/test/src/TestHashmap.c index 88b7396..da73e4b 100644 --- a/test/src/testhashmap.c +++ b/test/src/TestHashmap.c @@ -1,5 +1,5 @@ -#include <bh/hashmap.h> -#include <bh/unit.h> +#include <BH/Hashmap.h> +#include <BH/Unit.h> static size_t DBG_PtrIntHash(const void *ptr) diff --git a/test/src/testmath.c b/test/src/TestMath.c index e41f726..e03ca96 100644 --- a/test/src/testmath.c +++ b/test/src/TestMath.c @@ -1,5 +1,5 @@ -#include <bh/math.h> -#include <bh/unit.h> +#include <BH/Math.h> +#include <BH/Unit.h> #define ACCEPTABLE_DELTA 0.0001f diff --git a/test/src/testqueue.c b/test/src/TestQueue.c index edeb75c..8f1fc75 100644 --- a/test/src/testqueue.c +++ b/test/src/TestQueue.c @@ -1,5 +1,5 @@ -#include <bh/queue.h> -#include <bh/unit.h> +#include <BH/Queue.h> +#include <BH/Unit.h> static int NewFree(void) diff --git a/unit/CMakeLists.txt b/unit/CMakeLists.txt index 28d7ce9..42e9ffb 100755 --- a/unit/CMakeLists.txt +++ b/unit/CMakeLists.txt @@ -10,11 +10,11 @@ set(CMAKE_C_EXTENSIONS OFF) # Library code set(BHUNIT_SOURCE - src/unit.c + src/Unit.c ) set(BHUNIT_HEADER - include/bh/unit.h + include/BH/Unit.h ) # Library diff --git a/unit/include/bh/unit.h b/unit/include/BH/Unit.h index 3b3b2b6..3b3b2b6 100755 --- a/unit/include/bh/unit.h +++ b/unit/include/BH/Unit.h diff --git a/unit/src/unit.c b/unit/src/Unit.c index 6063a4f..ead5449 100755 --- a/unit/src/unit.c +++ b/unit/src/Unit.c @@ -1,4 +1,4 @@ -#include <bh/unit.h> +#include <BH/Unit.h> #include <stdlib.h> typedef struct BH_Unit |
