Re: [anjuta-list] Is something like this exists for gcc/configure & friends



Am 15.04.2016 um 11:28 schrieb Jens Mühlenhoff:
Am 15.04.2016 um 11:25 schrieb Jens Mühlenhoff:
You can either flatten your class and make the instance an opaque pointer (which is great for using C++ 
classes in languages other than C++) or export an abstract class (also known as an interface) to be 
consumed by C++ clients.
Although it was written for C++ / Delphi interop on Windows, this article may be useful as well:

http://rvelthuis.de/articles/articles-cppobjs.html

While we are at it, here is a similar page for Vala binding of C "classes" (which can also be flattened C++ 
classes):

https://wiki.gnome.org/Projects/Vala/LegacyBindings#Classes

-- 
Mit freundlichen Grüßen
Jens Mühlenhoff

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]