URL:
  <http://gna.org/patch/?2108>

                 Summary: Fix usage of the prefix "find_" and the suffix
"_by_id" in function names
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: lundi 25.10.2010 à 18:15
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.3.0

    _______________________________________________________

Details:

Mostly in the common part, some functions had "<module>_by_<something>()" and
some other "find_<module>_by_<something>()". The prefix "find_" is now always
removed, as having the module name as prefix is really better, and it doesn't
make more ambiguity.

Some functions had "_by_id" suffix and some other "_by_number" for the same
thing (e.g. game_find_unit_by_numer() - player_find_unit_by_id()???). Always
"_by_number" suffix.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: lundi 25.10.2010 à 18:15  Name:
0001-Harmonize-common-part-function-names-for.patch  Size: 256 ko   By:
pepeto

<http://gna.org/patch/download.php?file_id=10935>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to