mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +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;
|
|
}
|