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

                 Summary: specenum _size()
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 09 Nov 2011 01:00:11 AM EET
                Category: general
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

I have been allocating arrays where specenum value is used as index, and I
need to know size of the array needed. As far as I can see, specenum module
does not provide that directly at the moment, but one has to use _max() + 1
(since space for index 0 is needed as well). Maybe specenum should provide
this directly.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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