H.G. Muller wrote:
> OK, clear. That sounds straightforward enough. For the returned lists,
> would you just
> want a string where all data fields are separated by newlines, or an
> arry of (char*) ?
Neither :)
The best is in my opinion an array of handles and a set of functions
(gtk_widget and fopen style):
const char* SOMEPREFIX_getName(engine_handle);
const char* SOMEPREFIX_getProtocol(engine_handle);
or if you do not like it a struct with all the information (fstat style):
struct SOMEPREFIX_info {
const char* name;
const char* protocol;
etc...
};
> Well, focusing on one or a few products is imo not the same as saying
> that you cannot be bothered any more to ship your product, and that
> anyone who wants to buy it would have to come to the factory himself,
> to nicely wrap it in paper, pack it in boxes to become
> transport-proof, and carry it away. And then supply it without an
> instruction guide, insisting that all retailers should write their
> own, after figuring out for themselves how the product works. I
> somehow doubt that Apple would have been very succesful if they had
> adopted that policy.
I do not want to get into a discussion about stockfish, mine is an
opinion and I can be wrong.
I believe that every serious software need reasonable testing and that
requires a lot of time (and when a user of an obscure distro report a
bug you need to spend some time investigating it).
Also I do not think stockfish should be considered an end user product
in the same way you do not worry about nice packaging or writing user
guide for car engines.
Bye,
Fulvio
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users