gstreamer/test/bindings/dummy.c
Erik Walthinsen 0ec400890c initial checkin
Original commit message from CVS:
initial checkin
2000-01-30 10:44:33 +00:00

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;
}