Forum: Ruby-Gnome 2 Binding a new fundamental type

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6bf57b10a0d04acd62b9d83a8a791327?d=identicon&s=25 unknown (Guest)
on 2006-03-19 15:31
(Received via mailing list)
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...
This topic is locked and can not be replied to.