mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
tools/gst-inspect.c: print signal arguments as pointers if they are
Original commit message from CVS: * tools/gst-inspect.c: (print_signal_info): print signal arguments as pointers if they are
This commit is contained in:
parent
99acdfdb49
commit
3f066467ac
2 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-10-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* tools/gst-inspect.c: (print_signal_info):
|
||||
print signal arguments as pointers if they are
|
||||
|
||||
2004-10-22 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* docs/pwg/building-boiler.xml:
|
||||
|
|
|
@ -821,9 +821,15 @@ print_signal_info (GstElement * element)
|
|||
query->signal_name,
|
||||
g_type_name (query->return_type), g_type_name (type));
|
||||
|
||||
for (j = 0; j < query->n_params; j++)
|
||||
g_print (",\n%s%s%s arg%d", _name, indent,
|
||||
g_type_name (query->param_types[j]), j);
|
||||
for (j = 0; j < query->n_params; j++) {
|
||||
if (G_TYPE_IS_FUNDAMENTAL (query->param_types[j])) {
|
||||
g_print (",\n%s%s%s arg%d", _name, indent,
|
||||
g_type_name (query->param_types[j]), j);
|
||||
} else {
|
||||
g_print (",\n%s%s%s* arg%d", _name, indent,
|
||||
g_type_name (query->param_types[j]), j);
|
||||
}
|
||||
}
|
||||
|
||||
if (k == 0)
|
||||
g_print (",\n%s%sgpointer user_data);\n", _name, indent);
|
||||
|
|
Loading…
Reference in a new issue