Last of the config.h mods...

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

added to these files.

Kent
--
mein@cs.umn.edu
This commit is contained in:
2002-11-25 15:29:57 +00:00
parent d0e346d544
commit 209a2ede2c
212 changed files with 799 additions and 146 deletions

View File

@@ -13,13 +13,14 @@
*
*/
#include "BoolValue.h"
#include "StringValue.h"
#include "ErrorValue.h"
#include "VoidValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction

View File

@@ -13,13 +13,13 @@
*
*/
#include "Value.h" // for precompiled header
#include "ConstExpr.h"
#include "VectorValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction

View File

@@ -36,6 +36,9 @@
#include "ErrorValue.h"
#include "InputParser.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
EXP_ValueHandle EXP_CreateInt(int innie)
{

View File

@@ -13,9 +13,6 @@
*
*/
#include "EmptyValue.h"
#include "IntValue.h"
#include "FloatValue.h"
@@ -24,6 +21,9 @@
#include "ListValue.h"
#include "VoidValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction

View File

@@ -12,13 +12,11 @@
*
*/
#include "ErrorValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
@@ -122,4 +120,4 @@ CValue* CErrorValue::GetReplica()
assertd(false);
return NULL;
}
}

View File

@@ -12,11 +12,12 @@
*
*/
#include "Expression.h"
#include "ErrorValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction

View File

@@ -12,7 +12,6 @@
*
*/
#include "FloatValue.h"
#include "IntValue.h"
#include "StringValue.h"
@@ -20,8 +19,9 @@
#include "ErrorValue.h"
#include "VoidValue.h"
///#include "..\..\menuvalue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction

View File

@@ -31,6 +31,9 @@
#include "IdentifierExpr.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
CIdentifierExpr::CIdentifierExpr(const STR_String& identifier,CValue* id_context)
:m_identifier(identifier)
@@ -100,4 +103,4 @@ void CIdentifierExpr::ClearModified()
void CIdentifierExpr::BroadcastOperators(VALUE_OPERATOR op)
{
assertd(false); // not implemented yet
}
}

View File

@@ -16,6 +16,9 @@
#include "EmptyValue.h"
#include "ErrorValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
@@ -138,4 +141,4 @@ void CIfExpr::BroadcastOperators(VALUE_OPERATOR op)
unsigned char CIfExpr::GetExpressionID()
{
return CIFEXPRESSIONID;
}
}

View File

@@ -27,6 +27,10 @@
#include "Operator1Expr.h"
#include "IdentifierExpr.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// this is disable at the moment, I expected a memleak from it, but the error-cleanup was the reason
// well, looks we don't need it anyway, until maybe the Curved Surfaces are integrated into CSG
// cool things like (IF(LOD==1,CCurvedValue,IF(LOD==2,CCurvedValue2)) etc...

View File

@@ -12,14 +12,16 @@
*
*/
#include "IntValue.h"
#include "ErrorValue.h"
#include "FloatValue.h"
#include "BoolValue.h"
#include "StringValue.h"
#include "VoidValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
@@ -322,4 +324,4 @@ void CIntValue::SetValue(CValue* newval)
PyObject* CIntValue::ConvertValueToPython()
{
return PyInt_FromLong(m_int);
}
}

View File

@@ -29,9 +29,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "KX_HashedPtr.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
unsigned int KX_Hash(unsigned int inDWord)
{
unsigned int key = inDWord;

View File

@@ -14,12 +14,15 @@
*
*/
#include "ListValue.h"
#include "StringValue.h"
#include "VoidValue.h"
#include <algorithm>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
int listvalue_bufferlen(PyObject* list)
{
return ( ((CListValue*)list)->GetCount());
@@ -533,4 +536,4 @@ bool CListValue::IsModified()
bmod = bmod || GetValue(i)->IsModified();
return bmod;
}
}

View File

@@ -13,8 +13,12 @@
*/
#include "Operator1Expr.h"
//#include "FactoryManager.h"
#include "EmptyValue.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

View File

@@ -16,12 +16,14 @@
// have to do the trick
// when expression is cached, there will be a call to UpdateCalc() instead of Calc()
#include "Operator2Expr.h"
#include "StringValue.h"
#include "VoidValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef NO_EXP_PYTHON_EMBEDDING
/*------------------------------

View File

@@ -12,13 +12,14 @@
*
*/
#include "StringValue.h"
#include "BoolValue.h"
#include "ErrorValue.h"
#include "VoidValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction

View File

@@ -15,7 +15,6 @@
*
*/
#include "Value.h"
#include "FloatValue.h"
#include "IntValue.h"
@@ -25,7 +24,9 @@
#include "ErrorValue.h"
#include "ListValue.h"
//#include "FactoryManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction

View File

@@ -12,6 +12,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable:4786)
#endif