summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/scripts/squashfs/lzma/C/7zip/Compress/Branch/BranchX86.h
blob: 879fd50ef840b9761b81c539bb097f1ae1fb96e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* BranchX86.h */

#ifndef __BRANCHX86_H
#define __BRANCHX86_H

#ifndef UInt32
#define UInt32 unsigned int
#endif

#ifndef Byte
#define Byte unsigned char
#endif

#define x86_Convert_Init(prevMask, prevPos) { prevMask = 0; prevPos = (UInt32)(-5); }

UInt32 x86_Convert(Byte *buffer, UInt32 endPos, UInt32 nowPos, 
    UInt32 *prevMask, UInt32 *prevPos, int encoding);

#endif