Binding a new fundamental type

Hi,

I recently had a go at upgrading the ruby gstreamer bindings from
gstreamer
0.8 to gstreamer 0.10. After gutting out all the methods that don’t
exist
anymore i ended with something good enough to create pipelines
(yeah!)…

After that ofcourse the real work started and i hit a big problem
quite soon.
Gstreamer 0.10 introduces a new fundamental type, the gst-miniobject,
which
is used for things such as events. The fundamental types that ruby
glib binds are hard coded and don’t really allow adding a new one
programatically.

What would be the best way to solve this? Imho the best way would be
to add a
small api on the glib bindings to define new fundamental type, but i
guess
that that would require some big changes… Opinions?

Sjoerd

What is algebra, exactly? Is it one of those three-cornered things?
– J. M. Barrie


This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642