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:
@ -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;
|
||||
|
Reference in New Issue
Block a user