[Freeciv-Dev] Re: (PR#11126) unify map_get_known
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11126 >
On Mon, 6 Dec 2004, Jason Short wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=11126 >
>
> Here is an updated patch.
You don't need a BV_COPY macro. Bitvectors are structs, structs can be
copied using the standard assignment operator. That also has the benefit of
compile-time type checking, while BV_COPY uses run-time assert checks.
Just do:
bv_a = bv_b;
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#11126) unify map_get_known,
Vasco Alexandre da Silva Costa <=
|
|