tableprint: use the type name as-is for the functions' names.

This drops one parameter from the functions' macros, and require structures
to be typedeffed, but ensures that it is possible to map 1-to-1 the type to
the function name.

Originally committed as revision 23820 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Pettenò
2010-06-27 12:20:39 +00:00
parent 07ece20c69
commit ac014798ff
9 changed files with 41 additions and 41 deletions

View File

@ -33,11 +33,11 @@ int main(void)
write_fileheader();
printf("static const uint8_t linear_to_alaw[1 << 14] = {\n");
write_uint8_array(linear_to_alaw, 1 << 14);
write_uint8_t_array(linear_to_alaw, 1 << 14);
printf("};\n");
printf("static const uint8_t linear_to_ulaw[1 << 14] = {\n");
write_uint8_array(linear_to_ulaw, 1 << 14);
write_uint8_t_array(linear_to_ulaw, 1 << 14);
printf("};\n");
return 0;