From: Keya N. <key...@re...> - 2007-02-13 06:05:20
|
Hi,=0A=0AI am using Swig to generate interface wrappers between GObject and= Java. I have a native library built upon GObject and have to generate wra= ppers for Java in order to access it. I would like to know if anyone has e= ver worked on the same area before. =0A=0AFew problems that I am facing wh= ile generating the wrappers is: GObject has it's own set of Primitive Data= Types. For instance, "int" in GObject is "gint". Similarly, "char" is = "gchar" and so on. When I provide Swig, a native C code built upon GObject= , the Swig unaware of these data types consider them to be "structures or = classes" and generates separate classes for them. Instead of these I will = like to tell Swig that these are basic data types of gobject library. =0A= =0AIf anyone who has experience in GObject and Swig, will provide me with = some guidelines on the subject.=0A=0AThanks & Regards,=0AKeya=0A |