Follow-up Comment #1, patch #1770 (project freeciv): update to current trunk
from bitvector.c: There are two types of bitvectors defined in this file: (1) bv_* - static bitvectors; used for data which where the length is fixed (number of players; flags for enums; ...). They are named bv_* and the macros BV_* are defined. (2) dbv_* - dynamic bitvectors; its size is not known a priori but defined by the player (map known bitvectors). This bitvectors are given as 'struct dbv' and the information can be accessed using the functions dbv_*(). They uses the BV_* macros. (file #10057) _______________________________________________________ Additional Item Attachment: File name: 20100828-07-trunk-define-dynamic-bitvector-dbv.patch Size:7 KB _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1770> _______________________________________________ Nachricht geschickt von/durch Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev