[Freeciv-tickets] [freeciv] #41115: Counter getter functions

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Wed Jun 16 22:55:25 JST 2021


#41115: Counter getter functions

  Open Date: 2021-01-08 05:46
Last Update: 2021-06-16 22:55

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/41115
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41115

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2021-06-16 22:55 Updated by: lachu

Comment:

HI
Reply To kvilhaugsvik
git am complains. Patch format detection failed. Did you create this with git show? Did you edit it by hand?

You have added an unused
int i;
that breaks compilation. Do you want the test patch that forces everything to compile so you can catch compile errors your self?

You added a space after Search for counter by rule name 

Hi. I apply RC4 patch on top of newest version in master. It apply, compile and working. Any suggestions? 

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: kvilhaugsvik
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.2.0
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

These functions will be needed for building anything on counters module:
struct counter *counter_by_id(int id)
int counter_id(struct counter *pcount)
struct counter *counter_by_rule_name(const char *name)
const char *counter_rule_name(struct counter *pcount)
int counter_index(struct counter *pcount)
struct counter *counter_by_index(int index, enum counter_target target)

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/41115
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41115



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index