KWIG Qt->Gtk porting layer and merging main loops.
h.lai at chello.nl
Fri Oct 29 20:03:16 EEST 2004
Alexander Neundorf wrote:
>>How is a C program supposed to use C++ STL classes?
> Why shouldn't a C++ developer use STL ?
> (I can also ask funny questions).
A library exposes a C interface. The API makes use of glib's linked list
data structures etc. You find that unacceptable because you prefer C++
STL data types. So, if the library exposes a C++-style API instead
(which makes uses of STL), the C programs can't use that library
anymore. How do you want to get around that problem, other than
accepting the pure C API?
More information about the xdg