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

@ -34,7 +34,7 @@ int main(void)
write_fileheader();
printf("static const YuvPixel mp_rgb_yuv_table[1 << 15] = {\n");
write_int8_2d_array(mp_rgb_yuv_table, 1 << 15, 3);
write_int8_t_2d_array(mp_rgb_yuv_table, 1 << 15, 3);
printf("};\n");
return 0;