mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
0ec400890c
Original commit message from CVS: initial checkin
20 lines
280 B
C
20 lines
280 B
C
#include <dummy.h>
|
|
|
|
Dummy *dummy_new() {
|
|
Dummy *dummy;
|
|
|
|
dummy = g_malloc(sizeof(Dummy));
|
|
|
|
dummy->flags = 0;
|
|
dummy->name = NULL;
|
|
|
|
return dummy;
|
|
}
|
|
|
|
Dummy *dummy_new_with_name(gchar *name) {
|
|
Dummy *dummy = dummy_new();
|
|
|
|
dummy->name = g_strdup(name);
|
|
|
|
return dummy;
|
|
}
|