There is nothing inherently cplusplusic, You can change class to struct (provided that Your compiler supports functions in structs). Add prefix player_ to every function in player:: namespace.
And of course don't forget about this no_variable_in_for thing... Of course no printing on streams, etc etc etc. A lot of pain. A LOT. Maybe You prefer D? Łukasz On 2/5/07, steve uurtamo <[EMAIL PROTECTED]> wrote:
has anyone tried writing a C interface to these functions? any suggestions about how to start? i love the idea of the library, but do not love the idea of writing C++. thanks, s. ----- Original Message ---- From: Łukasz Lew <[EMAIL PROTECTED]> To: computer-go <[email protected]> Sent: Monday, February 5, 2007 2:41:23 AM Subject: Re: [computer-go] Effective Go Library v0.101 Effective Go Library: http://www.mimuw.edu.pl/~lew/ ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html _______________________________________________ computer-go mailing list [email protected] http://www.computer-go.org/mailman/listinfo/computer-go/
_______________________________________________ computer-go mailing list [email protected] http://www.computer-go.org/mailman/listinfo/computer-go/
