4.40 beta

This commit is contained in:
Igor Pavlov
2006-05-01 00:00:00 +00:00
committed by Kornel Lesiński
parent 3415684502
commit bd9a40b0ed
61 changed files with 2710 additions and 187 deletions

View File

@@ -163,6 +163,10 @@ SOURCE=.\BranchCoder.h
# End Source File
# Begin Source File
SOURCE=.\BranchTypes.h
# End Source File
# Begin Source File
SOURCE=.\BranchX86.h
# End Source File
# Begin Source File

View File

@@ -3,7 +3,7 @@
#ifndef __BRANCH_ARM_H
#define __BRANCH_ARM_H
#include "Common/Types.h"
#include "BranchTypes.h"
UInt32 ARM_Convert(Byte *data, UInt32 size, UInt32 nowPos, int encoding);

View File

@@ -3,7 +3,7 @@
#ifndef __BRANCH_ARM_THUMB_H
#define __BRANCH_ARM_THUMB_H
#include "Common/Types.h"
#include "BranchTypes.h"
UInt32 ARMThumb_Convert(Byte *data, UInt32 size, UInt32 nowPos, int encoding);

View File

@@ -3,7 +3,7 @@
#ifndef __BRANCH_IA64_H
#define __BRANCH_IA64_H
#include "Common/Types.h"
#include "BranchTypes.h"
UInt32 IA64_Convert(Byte *data, UInt32 size, UInt32 nowPos, int encoding);

View File

@@ -3,7 +3,7 @@
#ifndef __BRANCH_PPC_H
#define __BRANCH_PPC_H
#include "Common/Types.h"
#include "BranchTypes.h"
UInt32 PPC_B_Convert(Byte *data, UInt32 size, UInt32 nowPos, int encoding);

View File

@@ -3,7 +3,7 @@
#ifndef __BRANCH_SPARC_H
#define __BRANCH_SPARC_H
#include "Common/Types.h"
#include "BranchTypes.h"
UInt32 SPARC_B_Convert(Byte *data, UInt32 size, UInt32 nowPos, int encoding);

View File

@@ -0,0 +1,15 @@
/* BranchTypes.h */
#ifndef __BRANCHTYPES_H
#define __BRANCHTYPES_H
typedef unsigned char Byte;
typedef unsigned short UInt16;
#ifdef _LZMA_UINT32_IS_ULONG
typedef unsigned long UInt32;
#else
typedef unsigned int UInt32;
#endif
#endif

View File

@@ -3,13 +3,7 @@
#ifndef __BRANCHX86_H
#define __BRANCHX86_H
#ifndef UInt32
#define UInt32 unsigned int
#endif
#ifndef Byte
#define Byte unsigned char
#endif
#include "BranchTypes.h"
#define x86_Convert_Init(prevMask, prevPos) { prevMask = 0; prevPos = (UInt32)(-5); }