Re: Introspection API



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




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