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:
marian 2015-07-20 12:55:56 +00:00
parent 0952e7673d
commit 26df795fb0
2 changed files with 18 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Version="8,00"
Name="Libyate"
ProjectGUID="{254C6F00-6DE5-44A6-AD44-ACABA8912381}"
RootNamespace="Libyate"
@ -433,6 +433,10 @@
/>
</FileConfiguration>
</File>
<File
RelativePath="..\engine\Math.cpp"
>
</File>
<File
RelativePath="..\engine\Message.cpp"
>
@ -762,6 +766,10 @@
RelativePath="..\yateclass.h"
>
</File>
<File
RelativePath="..\yatemath.h"
>
</File>
<File
RelativePath="..\yatemime.h"
>

View File

@ -5,7 +5,7 @@
* Math data types
*
* 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;
* see the COPYING file in the main directory for licensing
@ -29,10 +29,17 @@
namespace TelEngine {
#ifdef DEBUG
#ifdef _WINDOWS
#define YMATH_FAIL(cond,...) { \
if (!(cond)) \
Debug(DebugFail,__VA_ARGS__); \
}
#else
#define YMATH_FAIL(cond,args...) { \
if (!(cond)) \
Debug(DebugFail,args); \
}
#endif
#else
#ifdef _WINDOWS
#define YMATH_FAIL do { break; } while
@ -379,7 +386,7 @@ private:
* Its purpose is to offer a common interface when processing lists
* @short Base class for vector class(es)
*/
class MathVectorBase : public GenObject
class YATE_API MathVectorBase : public GenObject
{
YCLASS(MathVectorBase,GenObject)
public: