[Freeciv-Dev] [patch #5130] DIO_PUT() and DIO_GET() macros

2014-08-29 Thread Marko Lindqvist
Update of patch #5130 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  


___

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


[Freeciv-Dev] [patch #5130] DIO_PUT() and DIO_GET() macros

2014-08-27 Thread Andreas Røsdal
Follow-up Comment #1, patch #5130 (project freeciv):

Nice work! I support your recent work on Freeciv-web. Feel free to continue
improving Freeciv and Freeciv-web in this way as much as you want.

___

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


[Freeciv-Dev] [patch #5130] DIO_PUT() and DIO_GET() macros

2014-08-26 Thread Marko Lindqvist
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