Просмотр исходного кода

- rename assert.h to ai_assert.h. See also https://sourceforge.net/tracker/?func=detail&atid=1067632&aid=3520178&group_id=226462

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1240 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 13 лет назад
Родитель
Сommit
adfef670cc

+ 1 - 1
code/ByteSwap.h

@@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_BYTESWAP_H_INC
 #define AI_BYTESWAP_H_INC
 
-#include "../include/assimp/assert.h"
+#include "../include/assimp/ai_assert.h"
 #include "../include/assimp/types.h"
 
 #if _MSC_VER >= 1400 

+ 1 - 1
code/CMakeLists.txt

@@ -19,7 +19,7 @@ SOURCE_GROUP( Compiler FILES ${COMPILER_HEADERS})
 
 SET( PUBLIC_HEADERS
 	${HEADER_PATH}/anim.h
-	${HEADER_PATH}/assert.h
+	${HEADER_PATH}/ai_assert.h
 	${HEADER_PATH}/camera.h
 	${HEADER_PATH}/color4.h
 	${HEADER_PATH}/color4.inl

+ 1 - 1
code/ColladaExporter.h

@@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_COLLADAEXPORTER_H_INC
 #define AI_COLLADAEXPORTER_H_INC
 
-#include "../include/assimp/assert.h"
+#include "../include/assimp/ai_assert.h"
 #include <sstream>
 
 struct aiScene;

+ 1 - 1
code/RemoveComments.h

@@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_REMOVE_COMMENTS_H_INC
 #define AI_REMOVE_COMMENTS_H_INC
 
-#include "../include/assimp/assert.h"
+#include "../include/assimp/ai_assert.h"
 
 namespace Assimp	{
 

+ 1 - 1
code/SceneCombiner.h

@@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_SCENE_COMBINER_H_INC
 #define AI_SCENE_COMBINER_H_INC
 
-#include "../include/assimp/assert.h"
+#include "../include/assimp/ai_assert.h"
 
 namespace Assimp	{
 

+ 2 - 0
code/StringComparison.h

@@ -50,6 +50,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef INCLUDED_AI_STRING_WORKERS_H
 #define INCLUDED_AI_STRING_WORKERS_H
 
+#include "../include/assimp/ai_assert.h"
+
 namespace Assimp	{
 
 // -------------------------------------------------------------------------------

+ 1 - 1
code/VertexTriangleAdjacency.h

@@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #include "BaseProcess.h"
 #include "../include/assimp/types.h"
-#include "../include/assimp/assert.h"
+#include "../include/assimp/ai_assert.h"
 
 struct aiMesh;
 namespace Assimp	{

+ 0 - 0
include/assimp/assert.h → include/assimp/ai_assert.h


+ 1 - 1
tools/assimp_view/assimp_view.h

@@ -50,7 +50,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 // Include ASSIMP headers (XXX: do we really need all of them?)
 #include <assimp/cimport.h>
 #include <assimp/Importer.hpp>
-#include <assimp/assert.h>
+#include <assimp/ai_assert.h>
 #include <assimp/cfileio.h>
 #include <assimp/postprocess.h>
 #include <assimp/scene.h>

+ 2 - 2
workspaces/vc9/assimp.vcproj

@@ -1173,11 +1173,11 @@
 				Name="Common"
 				>
 				<File
-					RelativePath="..\..\include\assimp\anim.h"
+					RelativePath="..\..\include\assimp\ai_assert.h"
 					>
 				</File>
 				<File
-					RelativePath="..\..\include\assimp\assert.h"
+					RelativePath="..\..\include\assimp\anim.h"
 					>
 				</File>
 				<File