Added math vectors to Windows build. Fixed variadic macro. Added missing export directive.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6007 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
0952e7673d
commit
26df795fb0
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="Windows-1252"?>
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
<VisualStudioProject
|
<VisualStudioProject
|
||||||
ProjectType="Visual C++"
|
ProjectType="Visual C++"
|
||||||
Version="8.00"
|
Version="8,00"
|
||||||
Name="Libyate"
|
Name="Libyate"
|
||||||
ProjectGUID="{254C6F00-6DE5-44A6-AD44-ACABA8912381}"
|
ProjectGUID="{254C6F00-6DE5-44A6-AD44-ACABA8912381}"
|
||||||
RootNamespace="Libyate"
|
RootNamespace="Libyate"
|
||||||
|
@ -433,6 +433,10 @@
|
||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\engine\Math.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\engine\Message.cpp"
|
RelativePath="..\engine\Message.cpp"
|
||||||
>
|
>
|
||||||
|
@ -762,6 +766,10 @@
|
||||||
RelativePath="..\yateclass.h"
|
RelativePath="..\yateclass.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\yatemath.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\yatemime.h"
|
RelativePath="..\yatemime.h"
|
||||||
>
|
>
|
||||||
|
|
11
yatemath.h
11
yatemath.h
|
@ -5,7 +5,7 @@
|
||||||
* Math data types
|
* Math data types
|
||||||
*
|
*
|
||||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||||
* Copyright (C) 2004-2014 Null Team
|
* Copyright (C) 2015 Null Team
|
||||||
*
|
*
|
||||||
* This software is distributed under multiple licenses;
|
* This software is distributed under multiple licenses;
|
||||||
* see the COPYING file in the main directory for licensing
|
* see the COPYING file in the main directory for licensing
|
||||||
|
@ -29,10 +29,17 @@
|
||||||
namespace TelEngine {
|
namespace TelEngine {
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
#ifdef _WINDOWS
|
||||||
|
#define YMATH_FAIL(cond,...) { \
|
||||||
|
if (!(cond)) \
|
||||||
|
Debug(DebugFail,__VA_ARGS__); \
|
||||||
|
}
|
||||||
|
#else
|
||||||
#define YMATH_FAIL(cond,args...) { \
|
#define YMATH_FAIL(cond,args...) { \
|
||||||
if (!(cond)) \
|
if (!(cond)) \
|
||||||
Debug(DebugFail,args); \
|
Debug(DebugFail,args); \
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#define YMATH_FAIL do { break; } while
|
#define YMATH_FAIL do { break; } while
|
||||||
|
@ -379,7 +386,7 @@ private:
|
||||||
* Its purpose is to offer a common interface when processing lists
|
* Its purpose is to offer a common interface when processing lists
|
||||||
* @short Base class for vector class(es)
|
* @short Base class for vector class(es)
|
||||||
*/
|
*/
|
||||||
class MathVectorBase : public GenObject
|
class YATE_API MathVectorBase : public GenObject
|
||||||
{
|
{
|
||||||
YCLASS(MathVectorBase,GenObject)
|
YCLASS(MathVectorBase,GenObject)
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue