[Freeciv-Dev] Re: check_map_pos() function?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, Oct 14, 2001 at 01:00:52AM -0400, Jason Dorje Short wrote:
> I know it's not quite what we talked about, but how about something like
> this to implement check_map_pos?
>
> The advantage of making it an inline function rather than a macro is
> that it can be easily used in places a generic macro could not (like
> map_inx). I don't think we want to have a different check in map_inx if
> at all possible.
I think that we want a check in map_inx if NDEBUG isn't set even in
the long term. So I don't see a reason for a function.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"If at first you don't succeed... well so much for skydiving."
|
|