From 1257f642c7b379497151d69bbbed7e33bd1ddfe2 Mon Sep 17 00:00:00 2001 From: Dmitry Bushtets Date: Fri, 15 Aug 2014 13:20:37 +0300 Subject: [PATCH] - added export to dll for: ZipFile, CGAffineToGL, GLToCGAffine, XXH32 (in .def file) --- cocos/2d/cocos2d.def | 3 ++- cocos/base/ZipUtils.h | 2 +- cocos/math/TransformUtils.h | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cocos/2d/cocos2d.def b/cocos/2d/cocos2d.def index 3cad80013e..31666e8001 100644 --- a/cocos/2d/cocos2d.def +++ b/cocos/2d/cocos2d.def @@ -1,2 +1,3 @@ - LIBRARY +EXPORTS + XXH32 \ No newline at end of file diff --git a/cocos/base/ZipUtils.h b/cocos/base/ZipUtils.h index d6b1e20c9a..9920cd582c 100644 --- a/cocos/base/ZipUtils.h +++ b/cocos/base/ZipUtils.h @@ -223,7 +223,7 @@ namespace cocos2d * * @since v2.0.5 */ - class ZipFile + class CC_DLL ZipFile { public: /** diff --git a/cocos/math/TransformUtils.h b/cocos/math/TransformUtils.h index 83072d7ccb..30ec353ba7 100644 --- a/cocos/math/TransformUtils.h +++ b/cocos/math/TransformUtils.h @@ -30,13 +30,14 @@ THE SOFTWARE. // todo: // when in MAC or windows, it includes #include "CCGL.h" +#include "base/ccMacros.h" namespace cocos2d { struct AffineTransform; -void CGAffineToGL(const AffineTransform &t, GLfloat *m); -void GLToCGAffine(const GLfloat *m, AffineTransform *t); +CC_DLL void CGAffineToGL(const AffineTransform &t, GLfloat *m); +CC_DLL void GLToCGAffine(const GLfloat *m, AffineTransform *t); }//namespace cocos2d #endif // __SUPPORT_TRANSFORM_UTILS_H__