Xdg-list digest, Vol 1 #432 - 11 msgs

Martin Konold martin.konold at erfrakon.de
Wed Jul 23 19:37:51 EEST 2003


Am Mittwoch, 23. Juli 2003 17:07 schrieb Navindra Umanee:

Hi,

> You could export a C interface for those programmers, although no-one
> has proposed doing that...  Meaning that yes, you can have a C++
> implementation of a library that is suitable for C programmers.

Roberto Alsina once made rather complete C bindings for Qt.

So yes, it can be done,  it even looks not ugly and the bindings are also 
maintainable. 

Unfortunately (for Robertos efforts) everyone finally chose to go the full 
OO/C++ way instead of keep using Qt/C.

http://lists.trolltech.com/qt-interest/1997-11/thread00050-0.html

Today C bindings are generated automatically for KDE3/Qt3

http://dot.kde.org/1003877941/

"Richard Dale recently pleasantly surprised me (and probably others) by 
announcing that he has committed C bindings for the KDE3/Qt3 libraries to 
KDE's CVS. Richard generated the C bindings automatically using a hacked 
kdoc, with relatively little manual intervention. According to him, "The 
bindings wrap about 800 classes [and] 13,000 methods, with 200k [lines of 
code] of C/C++ generated." The same hacked kdoc can also generate Objective C 
and Java bindings"

Regards,
-- martin konold

Dipl.-Phys. Martin Konold
e r f r a k o n
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
Nobelstrasse 15, 70569 Stuttgart, Germany
fon: 0711 67400963, fax: 0711 67400959
email: martin.konold at erfrakon.de





More information about the xdg mailing list