~ubuntu-branches/ubuntu/saucy/mapserver/saucy-security

« back to all changes in this revision

Viewing changes to mapbits.c

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-12-23 14:02:06 UTC
  • mfrom: (26.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20111223140206-n3h9t2hsa8hyslmu
Tags: 6.0.1-2
Added missed stuff for libmapscript-perl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/******************************************************************************
2
 
 * $Id: mapbits.c 8755 2009-03-10 13:35:19Z jlacroix $
 
2
 * $Id: mapbits.c 10017 2010-03-26 05:01:03Z warmerdam $
3
3
 *
4
4
 * Project:  MapServer
5
5
 * Purpose:  Implementation of bit array functions.
32
32
 
33
33
#include "mapserver.h"
34
34
 
35
 
MS_CVSID("$Id: mapbits.c 8755 2009-03-10 13:35:19Z jlacroix $")
 
35
MS_CVSID("$Id: mapbits.c 10017 2010-03-26 05:01:03Z warmerdam $")
36
36
 
37
37
#include <limits.h>
38
38
 
40
40
 * Hardcoded size of our bit array. 
41
41
 * See function msGetNextBit for another hardcoded value.
42
42
 */
43
 
#define MS_ARRAY_BIT 32
44
43
 
45
44
/* #define msGetBit(array, index) (*((array) + (index)/MS_ARRAY_BIT) & ( 1 << ((index) % MS_ARRAY_BIT))) */
46
45