Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] [Patch] impr_iter #2
Home

[Freeciv-Dev] [Patch] impr_iter #2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [Patch] impr_iter #2
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Mar 2002 15:18:05 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

Changes:
 - rename impr_iterate to impr_type_iterate
 - audit code so that constructs like
  int i;

  for(i=0;i<10;i++){
    ...
  }

  impr_type_iterate(i) {
    ...
  } impr_type_iterate_end;

  // use i here
  j=i+3;
 doesn't occur

 - change the remaining code (non-gtk client weren't converted in the
 first version)

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Life is too short for reboots."

Attachment: impr_iter2.diff.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [Patch] impr_iter #2, Raimar Falke <=