Follow-up Comment #3, patch #4940 (project freeciv):

> I'm not sure anything prevented using a locally scoped variable
> before,

But making the change to your existing patch to use pointers instead of value
should now be trivial. Just take the pointer instead of value in, and change
callers to pass "&local_struct" instead of "local_struct"

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?4940>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to