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 at least they work, and has been used successfully by several projects.
- G.1. Estrutura de construção
- G.2. Gerando os arquivos .defs.
- G.3. Os arquivos .hg e .ccg
- G.4. Hand-coded source files
- G.5. Inicialização
- G.6. Problemas na API C.
- G.7. Documentação