Re: [Vala] GObject-introspection and vapi




1) Is the .gir expected to be equivalent to the .vapi, i.e. is it supposed
to

   contain all information needed to create the .vapi


No.  One of the biggest feature gaps in .gir is you cannot have nested
namespaces, everything in your .gir must exist inside the same single-level
namespace.  Vala supports many namespaces and nested namespaces.


2) Is the .gir documented somewhere?


No, it doesn't even have an XML schema.  We've been working on just the
schema, but its a big job to basically reverse engineer the format from
writing test code and reading the .gir it generates.


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