Mercurial > vba-linux
diff 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 |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/7zip/7z/CPP/7zip/Compress/PpmdType.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,20 @@ 1.4 +/**************************************************************************** 1.5 + * This file is part of PPMd project * 1.6 + * Written and distributed to public domain by Dmitry Shkarin 1997, * 1.7 + * 1999-2001 * 1.8 + * Contents: compilation parameters and miscelaneous definitions * 1.9 + * Comments: system & compiler dependent file 1.10 + 1.11 + * modified by Igor Pavlov (2004-08-29). 1.12 + ****************************************************************************/ 1.13 + 1.14 +#ifndef __COMPRESS_PPMD_TYPE_H 1.15 +#define __COMPRESS_PPMD_TYPE_H 1.16 + 1.17 +const int kMaxOrderCompress = 32; 1.18 +const int MAX_O = 255; /* maximum allowed model order */ 1.19 + 1.20 +template <class T> 1.21 +inline void _PPMD_SWAP(T& t1,T& t2) { T tmp = t1; t1 = t2; t2 = tmp; } 1.22 + 1.23 +#endif