gstreamer-rs/gstreamer-controller/sys/tests/layout.c
Simonas Kazlauskas 782d84bede Remove the links annotations
The `links` annotation in `Cargo.toml` is intended to ensure that in the
crate graph there's at most one crate that's an implementation of
some sort concept.

This can make sense in some scenarios, most prominent of which is when
the crate defines `#[no_mangle]` symbols (e.g. by compiling a vendored C
library.) In that situation linking a binary that depends on two
versions of the library cannot work because of colliding symbol names.

There does not appear to be a similar reason to impose such a
restriction on the users of `gstreamer-sys` and similar, however. All of
these crates link to a system library, they do not define any
`#[no_mangle]` symbols nor they vendor and build C libraries as part of
their build process. All they do is linking to a system library.  Most
likely all the different versions of the bindings will link to the exact
same library too.

I haven't seen any global resources that these bindings use to ensure
soundness of the library, either.
2021-08-23 16:56:27 +00:00

29 lines
2.4 KiB
C

// Generated by gir (https://github.com/gtk-rs/gir @ b193568)
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
// DO NOT EDIT
#include "manual.h"
#include <stdalign.h>
#include <stdio.h>
int main() {
printf("%s;%zu;%zu\n", "GstARGBControlBinding", sizeof(GstARGBControlBinding), alignof(GstARGBControlBinding));
printf("%s;%zu;%zu\n", "GstARGBControlBindingClass", sizeof(GstARGBControlBindingClass), alignof(GstARGBControlBindingClass));
printf("%s;%zu;%zu\n", "GstControlPoint", sizeof(GstControlPoint), alignof(GstControlPoint));
printf("%s;%zu;%zu\n", "GstDirectControlBinding", sizeof(GstDirectControlBinding), alignof(GstDirectControlBinding));
printf("%s;%zu;%zu\n", "GstDirectControlBindingClass", sizeof(GstDirectControlBindingClass), alignof(GstDirectControlBindingClass));
printf("%s;%zu;%zu\n", "GstInterpolationControlSource", sizeof(GstInterpolationControlSource), alignof(GstInterpolationControlSource));
printf("%s;%zu;%zu\n", "GstInterpolationControlSourceClass", sizeof(GstInterpolationControlSourceClass), alignof(GstInterpolationControlSourceClass));
printf("%s;%zu;%zu\n", "GstInterpolationMode", sizeof(GstInterpolationMode), alignof(GstInterpolationMode));
printf("%s;%zu;%zu\n", "GstLFOControlSource", sizeof(GstLFOControlSource), alignof(GstLFOControlSource));
printf("%s;%zu;%zu\n", "GstLFOControlSourceClass", sizeof(GstLFOControlSourceClass), alignof(GstLFOControlSourceClass));
printf("%s;%zu;%zu\n", "GstLFOWaveform", sizeof(GstLFOWaveform), alignof(GstLFOWaveform));
printf("%s;%zu;%zu\n", "GstProxyControlBinding", sizeof(GstProxyControlBinding), alignof(GstProxyControlBinding));
printf("%s;%zu;%zu\n", "GstProxyControlBindingClass", sizeof(GstProxyControlBindingClass), alignof(GstProxyControlBindingClass));
printf("%s;%zu;%zu\n", "GstTimedValueControlSource", sizeof(GstTimedValueControlSource), alignof(GstTimedValueControlSource));
printf("%s;%zu;%zu\n", "GstTimedValueControlSourceClass", sizeof(GstTimedValueControlSourceClass), alignof(GstTimedValueControlSourceClass));
printf("%s;%zu;%zu\n", "GstTriggerControlSource", sizeof(GstTriggerControlSource), alignof(GstTriggerControlSource));
printf("%s;%zu;%zu\n", "GstTriggerControlSourceClass", sizeof(GstTriggerControlSourceClass), alignof(GstTriggerControlSourceClass));
return 0;
}