~ubuntu-branches/ubuntu/precise/p7zip/precise-updates

« back to all changes in this revision

Viewing changes to CPP/7zip/Compress/PPMD/PPMDType.h

  • Committer: Bazaar Package Importer
  • Author(s): Mohammed Adnène Trojette
  • Date: 2009-02-14 20:12:27 UTC
  • mfrom: (1.1.11 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090214201227-go63qxm9ozfdma60
Tags: 4.65~dfsg.1-1
* New upstream release.
* Remove wx2.8 Build-Depends added by mistakes (7zG is not yet
  intended to be built).
* Use dh_clean without -k.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
#ifndef __PPMD_TYPE_H
11
 
#define __PPMD_TYPE_H
12
 
 
13
 
const int kMaxOrderCompress = 32;
14
 
const int MAX_O = 255; /* maximum allowed model order */
15
 
 
16
 
template <class T>
17
 
inline void _PPMD_SWAP(T& t1,T& t2) { T tmp = t1; t1 = t2; t2 = tmp; }
18
 
 
19
 
#endif