Follow-up Comment #3, patch #5955 (project freeciv): To me it looks like we should split json addressing from reading/writing. If that isn't done we would have to create a new function in dataio_json for each combination of address type and data type combination in use.
One way to separate addressing and reading/writing is to make generate_packets.py generate code (inside #ifdef FREECIV_JSON_CONNECTION) that handles addressing. Would anyone object to this approach? _______________________________________________________ Reply to this item at: <http://gna.org/patch/?5955> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev