Re: Introspection API

Matthias Clasen <[email protected]> Fri, 25 Feb 2005 23:01:29 -0500
Newsgroups gmane.comp.gnome.language-bindings,gmane.comp.gnome.gtk+.devel.general
Message-ID <1109390490.3982.8.camel@x1-6-00-50-fc-70-9f-e0>
On Fri, 2005-02-25 at 18:22 -0500, Colin Walters wrote:

>>I'd envision things like mapping types (python's dict vs. glib's hash
>>table), where being able to express things in structured way would
>>de-uglify the process a lot.
>
>Not sure what you're saying here.  Would this be e.g. a desire to note
>that a particular GHashTable maps string->string?  Perhaps what we could
>do here is register GTypes for this, or make the introspection type
>system more recursive.  Note in Java and C# this stuff is part of the
>core language, not annotations.

Note that the type blobs in the metadata already allow you to specify
hash tables with arbitrary key and value types.

Matthias

_______________________________________________
language-bindings mailing list  [email protected]
http://mail.gnome.org/mailman/listinfo/language-bindings