[Freeciv-Dev] autodeclaired macro arguments
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
With this patch the macros adjc_iterate, square_iterate and iterate_outward
declaire the arguments they iterate with automatically. IE, instead of
int x, y
square_iterate(x,y) {
do_something(x, y);
square_iterate_end;
you just do
square_iterate(x,y) {
do_something(x, y);
square_iterate_end;
(as it is already done in some other macros like unit_list_iterate)
-Thue
macro_auto.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] autodeclaired macro arguments,
Thue <=
|
|