Colin Walters wrote:
(Using this list for gobject-introspection development for now,
probably ignore if you're not jdahlin =))
I was looking a bit today about applying our shiny new introspection
tool to Totem, with an eye to eliminating the manual binding
infrastructure, and more generally figure out how existing C
applications can use g-i (and something like Alex' GScript API) to
have a nicer way to embed Python or Spidermonkey.
As far as I can see it there are two options:
A) dlopen the executable (not portable)
B) create a temporary shared library
C) execute the scanner inside the application (as you suggested)
Discarding A, as we want to be portable. I've always thought about using
a temporary shared library to solve this particular problem, but the one
you suggested appears to be better in many ways.