[gnome-db] Gda and Mono Bug

Some other know about the bug # , about the problem in
GdaValue, in the next explanation, some other find the
solution!, but the problem is the SourceGenerator. I
found it parses the structs and enum, but not the
unions; it must be implemented in the gap2xml.pl
script to work properly (sorry, but I try to learn
about perl, but I'm on the aerly stage, then I can't
help too much).

Does any can help about?

The following notice have been sent to the gtk-sharp
and momo-bugs mailing list, but any talks about.

Navigating in the code for parse Gda in gtk-sharp, I
found the gap2xml.pl parser wich automaticali parser
the code in C to C# (I beleave)...

At gapi2xml.pl, I found it parses typedef, struct,
enum and class_init, but it dosn't do the proper for

In the case of Gda, the GdaValue struct have a union
inside, but is not parser as union, but a struct

This problem and the correct already parser code is


(Search for "gda/generated/Value.cs")

GdaValue "C" Definition:

typedef struct {
       GdaValueType type;
       union {                           /* look */
               gint64 v_bigint;
               guint64 v_biguint;
               gpointer v_binary;
               GdaBlob v_blob;
               gboolean v_boolean;
               GdaValueType v_type;
               guint v_uinteger;
       } value;
       glong binary_length;
} GdaValue;

I don't know about Perl programing, then I can't help
too much.

Trabajar es la mejor arma para tu superación.

Do You Yahoo!?
La mejor conexión a internet y 2GB en tu buzón de Correo Yahoo! por $100 al mes. http://net.yahoo.com.mx

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