Mercurial > vba-linux
comparison src/win32/7zip/7z/CPP/7zip/Compress/PpmdType.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 /**************************************************************************** | |
2 * This file is part of PPMd project * | |
3 * Written and distributed to public domain by Dmitry Shkarin 1997, * | |
4 * 1999-2001 * | |
5 * Contents: compilation parameters and miscelaneous definitions * | |
6 * Comments: system & compiler dependent file | |
7 | |
8 * modified by Igor Pavlov (2004-08-29). | |
9 ****************************************************************************/ | |
10 | |
11 #ifndef __COMPRESS_PPMD_TYPE_H | |
12 #define __COMPRESS_PPMD_TYPE_H | |
13 | |
14 const int kMaxOrderCompress = 32; | |
15 const int MAX_O = 255; /* maximum allowed model order */ | |
16 | |
17 template <class T> | |
18 inline void _PPMD_SWAP(T& t1,T& t2) { T tmp = t1; t1 = t2; t2 = tmp; } | |
19 | |
20 #endif |