~ubuntu-branches/ubuntu/quantal/gclcvs/quantal

« back to all changes in this revision

Viewing changes to h/mgmp.h

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2004-06-24 15:13:46 UTC
  • Revision ID: james.westby@ubuntu.com-20040624151346-xh0xaaktyyp7aorc
Tags: 2.7.0-26
C_GC_OFFSET is 2 on m68k-linux

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifdef __SHORT_LIMB
 
2
typedef unsigned int            mp_limb_t;
 
3
#else
 
4
#ifdef __LONG_LONG_LIMB
 
5
typedef unsigned long long int  mp_limb_t;
 
6
#else
 
7
typedef unsigned long int       mp_limb_t;
 
8
#endif
 
9
#endif
 
10
 
 
11
typedef mp_limb_t *             mp_ptr;
 
12
 
 
13
typedef struct
 
14
{
 
15
  int _mp_alloc;                /* Number of *limbs* allocated and pointed
 
16
                                   to by the _mp_d field.  */
 
17
  int _mp_size;                 /* abs(_mp_size) is the number of limbs the
 
18
                                   last field points to.  If _mp_size is
 
19
                                   negative this is a negative number.  */
 
20
  mp_limb_t *_mp_d;             /* Pointer to the limbs.  */
 
21
} __mpz_struct;
 
22
 
 
23
typedef __mpz_struct MP_INT;
 
24