gstreamer/gstreamer-sharp/glue/bin.c
Khaled Mohammed 5c14766d47 2006-06-04 Khaled Mohammed <khaled.mohammed@gmail.com>
* gstreamer-sharp/glue/Bin.c: Newly added. Added a function to
        return the offset of *children.

        * tests/ElementTest.cs: Newly added. Added two NUnit tests for
        Element class - one to test creation of elements and the other
        to test addition and deletion of Pads from elements. 



git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61443 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-06-04 16:49:35 +00:00

10 lines
239 B
C

#include <gst/gstbin.h>
#include <gst/gstpipeline.h>
#include <gst/gstsegment.h>
guint
gstsharp_gst_bin_get_children_offset (void);
guint gstsharp_gst_bin_get_children_offset (void) {
return (guint)G_STRUCT_OFFSET (GstBin, children);
}