[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.

>>>>>>>>>>>>BEGIN
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
union.

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

This problem and the correct already parser code is
in:

http://lists.ximian.com/archives/public/gtk-sharp-list/2004-September.txt

(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.
>>>>>>>>>>END

>>>>>>>>>>>>>>>
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]