Re: [Vala] Support for custom attribute introspection/refle ction?
- From: Jonathan Ryan <jryan curious-os com>
- To: Luca Bruno <lethalman88 gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Support for custom attribute introspection/refle ction?
- Date: Tue, 26 Apr 2011 00:20:45 -0400
On Sun, 24 Apr 2011 21:19:49 +0200, Luca Bruno wrote:
On Sun, Apr 24, 2011 at 02:11:43PM -0400, Jonathan Ryan wrote:
You can also do it using GObject-Introspection by parsing Girs.
I wrote a small python script to do it if you would like to see it.
What's the relationship of this with Vala attributes and possibly
non-libraries?
Sorry I wasn't very clear about that.
This would not help code that is not part of a library.
If you want to get attributes from Vala, you're going
to have to parse it code files or vapis directly. (using libvala
probably)
You cannot directly introspect them at runtime, they are just
compile-time metadata.
--
Jonathan Ryan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]