[Gtk-sharp-list] Gtk.Databox
Mario Fuentes
mario@gnome.cl
Sun, 31 Oct 2004 01:06:04 -0300
Hello, I'm building bindings for GtkDatabox
(http://www.eudoxos.de/gtk/gtkdatabox/). I create
gtkdatabox-sharp-sources.xml like this:
<gapi-parser-input>
<api filename="../gtk/gtkdatabox-api.raw">
<library name="gtkdatabox">
<namespace name="Gtk">
<dir>gtkdatabox-0.2.4.5/gtk</dir>
<exclude>gtkdatabox-0.2.4.5/gtk/gtkdataboxmarshal.c</exclude>
<exclude>gtkdatabox-0.2.4.5/gtk/gtkdataboxmarshal.h</exclude>
</namespace>
</library>
</api>
</gapi-parser-input>
... and then execute gapi:
$ gapi-parser gtkdatabox-sharp-sources.xml
When gapi work, all memory is consumed (100% cpu, 100% ram, 100%
swap) :(. The process finish with:
<dir gtkdatabox-0.2.4.5/gtk> <exclude
gtkdatabox-0.2.4.5/gtk/gtkdataboxmarshal.c> <exclude
gtkdatabox-0.2.4.5/gtk/gtkdataboxmarshal.h>
Out of memory!
typedef enum {
GTK_DATABOX_NOT_DISPLAYED = 0,
GTK_DATABOX_POINTS = 1,
GTK_DATABOX_LINES = 2,
GTK_DATABOX_BARS = 3,
GTK_DATABOX_CROSS_SIMPLE = 4,
GTK_DATABOX_GRID = 5,
} GtkDataboxDataType;
structs: 0 enums: callbacks:
funcs: 0 types: 2 classes:
props: signals:
And the raw file generated only contain this:
<?xml version="1.0"?>
<api>
<!--
This file was automatically generated.
Please DO NOT MODIFY THIS FILE, modify .metadata files instead.
-->
<namespace name="Gtk" library="gtkdatabox">
<struct name="Databox" cname="GtkDatabox" opaque="true"/>
<struct name="DataboxClass" cname="GtkDataboxClass" opaque="true"/>
</namespace>
</api>
Any ideas??
Thanks.
--
Mario Fuentes
http://primate.gnome.cl/~mario
mailto:mario@gnome.cl