diff --git a/sources/unzip/ioapi.cpp b/sources/unzip/ioapi.cpp index 669ea369..5645b716 100644 --- a/sources/unzip/ioapi.cpp +++ b/sources/unzip/ioapi.cpp @@ -12,7 +12,7 @@ #include "ioapi.h" -namespace cocos2d { +namespace cc { voidpf call_zopen64 (const zlib_filefunc64_32_def* pfilefunc,const void*filename,int mode) { @@ -242,4 +242,4 @@ void fill_fopen64_filefunc (zlib_filefunc64_def* pzlib_filefunc_def) pzlib_filefunc_def->opaque = NULL; } -} // end of namespace cocos2d +} // end of namespace cc diff --git a/sources/unzip/ioapi.h b/sources/unzip/ioapi.h index 813addad..7accbafc 100644 --- a/sources/unzip/ioapi.h +++ b/sources/unzip/ioapi.h @@ -44,7 +44,7 @@ #include #include "zlib.h" -namespace cocos2d { +namespace cc { #ifndef OF #define OF _Z_OF @@ -194,6 +194,6 @@ void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def* p_fi #define ZTELL64(filefunc,filestream) (call_ztell64((&(filefunc)),(filestream))) #define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(filestream),(pos),(mode))) -} // end of namespace cocos2d +} // end of namespace cc #endif diff --git a/sources/unzip/ioapi_mem.cpp b/sources/unzip/ioapi_mem.cpp index 1c6b82f6..7638965d 100644 --- a/sources/unzip/ioapi_mem.cpp +++ b/sources/unzip/ioapi_mem.cpp @@ -32,7 +32,7 @@ #endif -namespace cocos2d { +namespace cc { voidpf ZCALLBACK fopen_mem_func (voidpf opaque, const char* filename, @@ -228,4 +228,4 @@ namespace cocos2d { pzlib_filefunc_def->zfile_func64.opaque = NULL; } -}; // namespace cocos2d +}; // namespace cc diff --git a/sources/unzip/ioapi_mem.h b/sources/unzip/ioapi_mem.h index 23235298..0dc400c1 100644 --- a/sources/unzip/ioapi_mem.h +++ b/sources/unzip/ioapi_mem.h @@ -5,7 +5,7 @@ #include "ioapi.h" -namespace cocos2d { +namespace cc { voidpf ZCALLBACK fopen_mem_func OF(( voidpf opaque, const char* filename, diff --git a/sources/unzip/unzip.cpp b/sources/unzip/unzip.cpp index 0ba5062a..2afb6b6e 100644 --- a/sources/unzip/unzip.cpp +++ b/sources/unzip/unzip.cpp @@ -87,7 +87,7 @@ # include #endif -namespace cocos2d { +namespace cc { #ifndef local # define local static @@ -2168,4 +2168,4 @@ int ZEXPORT unzSetOffset (unzFile file, uLong pos) return unzSetOffset64(file,pos); } -} // end of namespace cocos2d +} // end of namespace cc diff --git a/sources/unzip/unzip.h b/sources/unzip/unzip.h index a08d447f..0243f150 100644 --- a/sources/unzip/unzip.h +++ b/sources/unzip/unzip.h @@ -78,7 +78,7 @@ typedef voidp unzFile; #define UNZ_INTERNALERROR (-104) #define UNZ_CRCERROR (-105) -namespace cocos2d { +namespace cc { /* tm_unz contain date/time info */ typedef struct tm_unz_s @@ -451,6 +451,6 @@ uLong CC_DLL unzGetOffset (unzFile file); int CC_DLL unzSetOffset64 (unzFile file, ZPOS64_T pos); int CC_DLL unzSetOffset (unzFile file, uLong pos); -} // end of namespace cocos2d +} #endif /* _unz64_H */