URL:
<http://gna.org/patch/?6973>
Summary: Remove base/road name handling functions
Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 18 Feb 2016 05:21:18 AM EET
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 3.0.0
_______________________________________________________
Details:
There's virtually no benefit from still having base/road name handling
function available. They are now just wrappers for equivalent extra name
handling functions anyway, and writing that one base_extra_get() or
road_extra_get() call to the call-site in the rare cases it's actually needed
isn't much to ask. Most callers this patch converts already had proper extra
pointer around, so the conversion gets cut out. One place we even converted
extra pointer to base/road pointer just for using it in such a function that
internally converted it back to extra pointer.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 18 Feb 2016 05:21:19 AM EET Name: RoadBaseNameFuncsRm.patch Size:
20kB By: cazfi
<http://gna.org/patch/download.php?file_id=26755>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6973>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev