[Gtk-sharp-list] Using the parser on diacanvas

Joe Shaw joe@assbarn.com
12 Oct 2002 13:02:00 -0400


--=-DUpXXVTkE9oqaxTgGV7N
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hey,

I've been trying to use the parser on diacanvas
(diacanvas.sourceforge.net), but I'm having no luck.  I think perhaps
that perhaps their API doesn't conform strictly enough to what the
parser wants.

I'm downloading the 0.8.0 tarball from the website, and untarring it in
my home directory.  I've created a diacanvas sources file which looks
like so:

/home/joe/diacanvas2-0.8.0/src Diacanvas diacanvas2

and I'm running gapi.pl like so:

PATH=$PATH:. ./gapi.pl ../sources/diacanvas.sources diacanvas

and I've attached the output.  I don't know what to deduce from the
output, or how.  Anyone have any ideas?

Joe



--=-DUpXXVTkE9oqaxTgGV7N
Content-Disposition: attachment; filename=output
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=output; charset=ISO-8859-1

hi Diacanvas
need_update struct _DiaCanvasGroupable {GTypeInterface g_iface;gboolean (* =
add)	(DiaCanvasItem *group, DiaCanvasItem *item);gboolean (* remove)	(DiaCa=
nvasItem *group, DiaCanvasItem *item);gboolean (* get_iter)	(DiaCanvasItem =
*group, DiaCanvasIter *iter);gboolean (* next)	(DiaCanvasItem *group, DiaCa=
nvasIter *iter);DiaCanvasItem* (* value) (DiaCanvasItem *group, DiaCanvasIt=
er *iter);gint	(* length)	(DiaCanvasItem *group);gint	(* pos)		(DiaCanvasIt=
em *group,  DiaCanvasItem *item);}; at ./gapi2xml.pl line 680, <STDIN> line=
 2690.
typedef union  _DiaEvent	DiaEvent;
union _DiaEvent {
	DiaEventType	type;
	DiaEventButton	button;
	DiaEventMotion	motion;
	DiaEventKey	key;
};
typedef gdouble DiaAffine[6];
                                          GValue       *return_value,      =
                                     guint         n_param_values,         =
                                  const GValue *param_values,              =
                             gpointer      invocation_hint,                =
                           gpointer      marshal_data);
                                               GValue       *return_value, =
                                               guint         n_param_values=
,                                                const GValue *param_values=
,                                                gpointer      invocation_h=
int,                                                gpointer      marshal_d=
ata);
                                         GValue       *return_value,       =
                                   guint         n_param_values,           =
                               const GValue *param_values,                 =
                         gpointer      invocation_hint,                    =
                      gpointer      marshal_data);
                                             GValue       *return_value,   =
                                           guint         n_param_values,   =
                                           const GValue *param_values,     =
                                         gpointer      invocation_hint,    =
                                          gpointer      marshal_data);
warning: failed to load external entity "diacanvas-api.xml"

** (process:3241): WARNING **: File diacanvas-api.xml empty or not well-for=
med.

--=-DUpXXVTkE9oqaxTgGV7N--