mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
check for old typefinding code
Original commit message from CVS: check for old typefinding code
This commit is contained in:
parent
99d9c43e77
commit
d8c63eaf97
2 changed files with 24 additions and 0 deletions
|
@ -35,6 +35,7 @@ sub check_deprecated();
|
|||
sub check_config_h();
|
||||
sub check_varargs_functions();
|
||||
sub check_debugging();
|
||||
sub check_old_typefind();
|
||||
|
||||
sub m_check_plugindir();
|
||||
|
||||
|
@ -64,6 +65,7 @@ foreach $filename (<FIND>) {
|
|||
check_varargs_functions();
|
||||
check_debugging();
|
||||
check_bad_includes();
|
||||
check_old_typefind();
|
||||
}
|
||||
|
||||
open FIND, "find . -name \"Makefile.am\" -print|";
|
||||
|
@ -329,3 +331,13 @@ sub m_check_plugindir()
|
|||
}
|
||||
}
|
||||
|
||||
#
|
||||
# check for old typefinding code
|
||||
#
|
||||
sub check_old_typefind()
|
||||
{
|
||||
if (grep { /GstTypeDefinition/ || /GstTypeFactory/ } @lines) {
|
||||
print "E: old typefind interface has been removed\n"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ sub check_deprecated();
|
|||
sub check_config_h();
|
||||
sub check_varargs_functions();
|
||||
sub check_debugging();
|
||||
sub check_old_typefind();
|
||||
|
||||
sub m_check_plugindir();
|
||||
|
||||
|
@ -64,6 +65,7 @@ foreach $filename (<FIND>) {
|
|||
check_varargs_functions();
|
||||
check_debugging();
|
||||
check_bad_includes();
|
||||
check_old_typefind();
|
||||
}
|
||||
|
||||
open FIND, "find . -name \"Makefile.am\" -print|";
|
||||
|
@ -329,3 +331,13 @@ sub m_check_plugindir()
|
|||
}
|
||||
}
|
||||
|
||||
#
|
||||
# check for old typefinding code
|
||||
#
|
||||
sub check_old_typefind()
|
||||
{
|
||||
if (grep { /GstTypeDefinition/ || /GstTypeFactory/ } @lines) {
|
||||
print "E: old typefind interface has been removed\n"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue