"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CPP/7zip/Compress/BranchRegister.cpp" between
p7zip_15.14.1_src_all.tar.gz and p7zip_16.02_src_all.tar.gz

About: p7zip is a command-line file archiver with a high compression ratio (a port of the Windows program 7za.exe).

BranchRegister.cpp  (p7zip_15.14.1_src_all):BranchRegister.cpp  (p7zip_16.02_src_all)
// BranchRegister.cpp // BranchRegister.cpp
#include "StdAfx.h" #include "StdAfx.h"
#include "../../../C/Bra.h" #include "../../../C/Bra.h"
#include "../Common/RegisterCodec.h" #include "../Common/RegisterCodec.h"
#include "BranchMisc.h" #include "BranchMisc.h"
namespace NCompress {
namespace NBranch {
#define CREATE_BRA(n) \ #define CREATE_BRA(n) \
REGISTER_FILTER_CREATE(CreateBra_Decoder_ ## n, CBranchCoder(n ## _Convert, REGISTER_FILTER_CREATE(CreateBra_Decoder_ ## n, CCoder(n ## _Convert, false)
false)) \ ) \
REGISTER_FILTER_CREATE(CreateBra_Encoder_ ## n, CBranchCoder(n ## _Convert, REGISTER_FILTER_CREATE(CreateBra_Encoder_ ## n, CCoder(n ## _Convert, true))
true)) \ \
CREATE_BRA(PPC) CREATE_BRA(PPC)
CREATE_BRA(IA64) CREATE_BRA(IA64)
CREATE_BRA(ARM) CREATE_BRA(ARM)
CREATE_BRA(ARMT) CREATE_BRA(ARMT)
CREATE_BRA(SPARC) CREATE_BRA(SPARC)
#define METHOD_ITEM(n, id, name) \ #define METHOD_ITEM(n, id, name) \
REGISTER_FILTER_ITEM( \ REGISTER_FILTER_ITEM( \
CreateBra_Decoder_ ## n, \ CreateBra_Decoder_ ## n, \
skipping to change at line 37 skipping to change at line 40
REGISTER_CODECS_VAR REGISTER_CODECS_VAR
{ {
METHOD_ITEM(PPC, 0x205, "PPC"), METHOD_ITEM(PPC, 0x205, "PPC"),
METHOD_ITEM(IA64, 0x401, "IA64"), METHOD_ITEM(IA64, 0x401, "IA64"),
METHOD_ITEM(ARM, 0x501, "ARM"), METHOD_ITEM(ARM, 0x501, "ARM"),
METHOD_ITEM(ARMT, 0x701, "ARMT"), METHOD_ITEM(ARMT, 0x701, "ARMT"),
METHOD_ITEM(SPARC, 0x805, "SPARC") METHOD_ITEM(SPARC, 0x805, "SPARC")
}; };
REGISTER_CODECS(Branch) REGISTER_CODECS(Branch)
}}
 End of changes. 3 change blocks. 
4 lines changed or deleted 7 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS