URL:
http://gna.org/patch/?5130
Summary: DIO_PUT() and DIO_GET() macros
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 27 Aug 2014 06:40:08 AM EEST
Category: freeciv-web
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.6.0
___
Details:
Reduce diff (and complicated part in that) between freeciv and freeciv-web.
freeciv-web requires additional key parameter for dio_put_xxx() and
dio_get_xxx() functions. We don't want the overhead of passing such an
parameter to regular freeciv functions, but keep the function signatures
intact. Instead this patch introduces set of macros that take the additional
parameter, but does nothing with it in case of non-freeciv-web build, macro
translates to exaclty same function call as we had before. freeciv-web
implementation will take advantage of the new parameter.
All this allows us to unify the caller side to use the macro.
___
File Attachments:
---
Date: Wed 27 Aug 2014 06:40:08 AM EEST Name: DioKeys.patch Size: 9kB By:
cazfi
http://gna.org/patch/download.php?file_id=21921
___
Reply to this item at:
http://gna.org/patch/?5130
___
Message sent via/by Gna!
http://gna.org/
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev