Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: check_map_pos() function?
Home

[Freeciv-Dev] Re: check_map_pos() function?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: check_map_pos() function?
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 14 Oct 2001 17:54:43 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

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."


[Prev in Thread] Current Thread [Next in Thread]