check for old typefinding code

Original commit message from CVS:
check for old typefinding code
This commit is contained in:
David Schleef 2003-10-29 05:10:53 +00:00
parent 99d9c43e77
commit d8c63eaf97
2 changed files with 24 additions and 0 deletions

View file

@ -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"
}
}

View file

@ -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"
}
}