Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] Re: what the $#@$%!

[Freeciv-Dev] Re: what the $#@$%!

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: what the $#@$%!
From: Thue Janus Kristensen <thue@xxxxxxx>
Date: Wed, 26 Apr 2000 19:42:47 +0200

On Wed, 26 Apr 2000, Jeff Mallatt wrote:
> What the <expletive> is unit_list_insert_back() ?!?!?!  I find it
> referenced twice but never defined!!  Why am I not getting compiler/linker
> errors?  Help!
> jjm

It is defined by use of common/speclist.h and common/speclist_c.h
There you will find a generel foo_list_insert_back, which is converted
into a unit_list_insert_back by some magic I didn't study closer, all
described in speclist.h . The result is that it is not directly defined
in the source.
(the smart part is that the same implementation is also turned into a
city_list_insert_back. But it does seem a compared to OO programming)

(yes, beat me too for a while)


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