[Mapserver-dev] change to mapservers hash tables

Mladen Turk mturk at apache.org
Wed Jun 23 02:45:45 EDT 2004


This is a multi-part message in MIME format.

------=_NextPart_000_0052_01C458FE.7535E3E0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit


Hi,
mapswf.c

Line 2180:
msLayerWhichItems(layerPtr, MS_TRUE, MS_FALSE, 
	msLookupHashTable(&(layerPtr->metadata)), 
      "SWFDUMPATTRIBUTES"));
Should be:
      msLayerWhichItems(layerPtr, MS_TRUE, MS_FALSE, 
      	msLookupHashTable(&(layerPtr->metadata), 
            "SWFDUMPATTRIBUTES"));


Just delete an extra brace :)

MT.

> -----Original Message-----
> From: mapserver-dev-admin at lists.gis.umn.edu [mailto:mapserver-dev-
> admin at lists.gis.umn.edu] On Behalf Of Sean Gillies
> Sent: Wednesday, June 23, 2004 1:51 AM
> To: MapServer-Dev
> Subject: [Mapserver-dev] change to mapservers hash tables
> 
> Hi all,
> 
> I recently finished work to expose Map, Layer, and Class
> metadata in SWIG mapscript as instances of a new hash table
> class.  This required changing mapserver's hash table from
> 
>    typedef struct hashObj ** hashTableObj;
> 
> to
> 
>    typedef struct {
>        struct hashObj **items;  /* the hash table */
>        int              numitems;  /* number of items */
>    } hashTableObj;
> 
> Accordingly, I've changed the several hash table functions.
> See maphash.h for the new prototypes.  The only real change
> is that the functions now take a reference to hashTableObj.
> 
> I've combed through the entire code and think I've found
> every occurrence.  Tested it well and there shouldn't be
> any problems, but if you run into any hash table related
> problems let me know right away and I'll make sure it gets
> fixed immediately.
> 
> cheers,
> Sean
> 
> 
> _______________________________________________
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev

------=_NextPart_000_0052_01C458FE.7535E3E0
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBg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