Follow-up Comment #5, patch #2218 (project freeciv):
Thanks for the review!
I selected the secound approach:
> Then, you remove the definition of SPECHASH_DATA_COPY. Then, the
> pointer you passed to tile_data_cache_hash_replace() will be
> returned with tile_data_cache_hash_lookup().
changes 20101121:
* do not define SPECHASH_DATA_COPY as it would be a memory leak
(file #11309)
_______________________________________________________
Additional Item Attachment:
File name:
20101121-08-trunk-autosettler-use-a-hash-for-plr-ai-settler_map.patch Size:26
KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2218>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev