Wrapping C Libraries with gmmproc
gtkmm uses the gmmproc tool to generate most of its source code, using .defs files that define the APIs of GObject-based libraries. So it's quite easy to create additional gtkmm-style wrappers of other glib/GObject-based libraries.
This involves a variety of tools, some of them crufty, but it does at least work, and has been used successfully by several projects.
- G.1. Die Erstellungsstruktur
- G.2. Erstellen der .defs-Dateien.
- G.3. Die .hg- und .ccg-Dateien
- G.4. Handgeschriebene Quelldateien
- G.5. Initialisierung
- G.6. Probleme in der C-API.
- G.7. Dokumentation