Merge pull request #7802 from SmartCat/v3

- added export to dll for: ZipFile, CGAffineToGL, GLToCGAffine, XXH32
This commit is contained in:
minggo 2014-08-18 16:56:15 +08:00
commit e2829cd68a
3 changed files with 6 additions and 4 deletions

View File

@ -1,2 +1,3 @@
LIBRARY LIBRARY
EXPORTS
XXH32

View File

@ -223,7 +223,7 @@ namespace cocos2d
* *
* @since v2.0.5 * @since v2.0.5
*/ */
class ZipFile class CC_DLL ZipFile
{ {
public: public:
/** /**

View File

@ -30,13 +30,14 @@ THE SOFTWARE.
// todo: // todo:
// when in MAC or windows, it includes <OpenGL/gl.h> // when in MAC or windows, it includes <OpenGL/gl.h>
#include "CCGL.h" #include "CCGL.h"
#include "base/ccMacros.h"
namespace cocos2d { namespace cocos2d {
struct AffineTransform; struct AffineTransform;
void CGAffineToGL(const AffineTransform &t, GLfloat *m); CC_DLL void CGAffineToGL(const AffineTransform &t, GLfloat *m);
void GLToCGAffine(const GLfloat *m, AffineTransform *t); CC_DLL void GLToCGAffine(const GLfloat *m, AffineTransform *t);
}//namespace cocos2d }//namespace cocos2d
#endif // __SUPPORT_TRANSFORM_UTILS_H__ #endif // __SUPPORT_TRANSFORM_UTILS_H__