Ignore:
Timestamp:
May 3, 2006, 10:14:37 AM (15 years ago)
Author:
Eugene Romanenko
Message:

update makefiles, remove absolute paths, update djvulibre to version 3.5.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libdjvu/GContainer.h

    r15 r17  
    5252//C- +------------------------------------------------------------------
    5353//
    54 // $Id: GContainer.h,v 1.15 2004/05/13 15:16:34 leonb Exp $
    55 // $Name: release_3_5_16 $
     54// $Id: GContainer.h,v 1.17 2006/02/21 16:10:29 docbill Exp $
     55// $Name: $
    5656
    5757#ifndef _GCONTAINER_H_
     
    131131    Andrei Erofeev <eaf@geocities.com> -- bug fixes.
    132132    @version
    133     #$Id: GContainer.h,v 1.15 2004/05/13 15:16:34 leonb Exp $# */
     133    #$Id: GContainer.h,v 1.17 2006/02/21 16:10:29 docbill Exp $# */
    134134//@{
    135135
     
    394394      invocation of this conversion operator. */
    395395  operator const TYPE* () const
    396     { return ((const TYPE*)data)-minlo; }
    397   operator const TYPE* ()  // suppress warning with gcc-2.95
    398396    { return ((const TYPE*)data)-minlo; }
    399397  // -- ALTERATION
     
    750748  GPosition firstpos() const { return GPosition(head.next, (void*)this); }
    751749  GPosition lastpos() const { return GPosition(head.prev, (void*)this); }
    752   int isempty() const { return nelem==0; };
     750  bool isempty() const { return nelem==0; };
    753751  GPosition nth(unsigned int n) const;
    754752  void empty();
     
    846844  /** Tests whether a list is empty. 
    847845      Returns a non zero value if the list contains no elements. */
    848   int isempty() const
     846  bool isempty() const
    849847    { return this->nelem==0; }
    850848  /** Compares two lists. Returns a non zero value if and only if both lists
     
    11591157  /** Tests whether the associative map is empty. 
    11601158      Returns a non zero value if and only if the map contains zero entries. */
    1161   int isempty() const
     1159  bool isempty() const
    11621160    { return this->nelems==0; }
    11631161  /** Searches an entry for key #key#.  If the map contains an entry whose key
     
    13081306}
    13091307
    1310 /** Hashing function (void *). */
    1311 static inline unsigned int
    1312 hash(void * const & x)
    1313 {
    1314   return (unsigned long) x;
    1315 }
    1316 
    13171308/** Hashing function (const void *). */
    13181309static inline unsigned int
Note: See TracChangeset for help on using the changeset viewer.