upvote
GTK+ has GObject Introspection already, which is exactly what you describe here. Of course, it's specific to GTK+.
reply