Author: sveinung Date: Tue Apr 21 16:56:24 2015 New Revision: 28836 URL: http://svn.gna.org/viewcvs/freeciv?rev=28836&view=rev Log: JSON protocol: location in packet as parameter to the dio_* functions.
Take the address of the exact location in the packet to write to / read from as a parameter in the dio_* functions for the JSON protocol. This is required so an element of a field array can be placed inside the array and not after it. This is only the API change, isolated so it won't be bug hiding noise. See patch #6017 Modified: trunk/common/dataio.h trunk/common/dataio_json.c trunk/common/dataio_json.h trunk/common/generate_packets.py trunk/common/packets_json.h [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/common/dataio.h URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/dataio.h?rev=28836&r1=28835&r2=28836&view=diff Modified: trunk/common/dataio_json.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/dataio_json.c?rev=28836&r1=28835&r2=28836&view=diff Modified: trunk/common/dataio_json.h URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/dataio_json.h?rev=28836&r1=28835&r2=28836&view=diff Modified: trunk/common/generate_packets.py URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/generate_packets.py?rev=28836&r1=28835&r2=28836&view=diff Modified: trunk/common/packets_json.h URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/packets_json.h?rev=28836&r1=28835&r2=28836&view=diff _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits