bitblt.h

changeset 109
663da96ad2bc
parent 96
25c6b1a63f93
child 125
e2ef1c2f9eca
     1.1 diff -r 9b35b78d4c91 -r 663da96ad2bc bitblt.h
     1.2 --- a/bitblt.h	Wed Mar 12 10:58:33 2003 +0000
     1.3 +++ b/bitblt.h	Wed Mar 12 10:59:09 2003 +0000
     1.4 @@ -4,7 +4,7 @@
     1.5   *      will be compressed using ITU-T T.6 (G4) fax encoding.
     1.6   *
     1.7   * bitblt routines
     1.8 - * $Id: bitblt.h,v 1.15 2003/03/11 22:02:46 eric Exp $
     1.9 + * $Id: bitblt.h,v 1.16 2003/03/12 02:59:09 eric Exp $
    1.10   * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
    1.11   *
    1.12   * This program is free software; you can redistribute it and/or modify
    1.13 @@ -47,17 +47,17 @@
    1.14  }
    1.15  
    1.16  
    1.17 -/* word_type should be the largest native type that can be handled
    1.18 +/* word_t should be the largest native type that can be handled
    1.19     efficiently, so it shouldn't be a 64-bit type on a processor that
    1.20     doesn't have native 64-bit operations. */
    1.21 -typedef uint32_t word_type;
    1.22 -#define BITS_PER_WORD (8 * sizeof (word_type))
    1.23 +typedef uint32_t word_t;
    1.24 +#define BITS_PER_WORD (8 * sizeof (word_t))
    1.25  #define ALL_ONES (~ 0UL)
    1.26  
    1.27  
    1.28  typedef struct Bitmap
    1.29  {
    1.30 -  word_type *bits;
    1.31 +  word_t *bits;
    1.32    Rect rect;
    1.33    uint32_t row_words;
    1.34  } Bitmap;