diff cbrt_tablegen.c @ 11979:59f399926c12 libavcodec

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.
author flameeyes
date Sun, 27 Jun 2010 12:20:39 +0000
parents e03e3df6fb7d
children 263b4ef7ad87
line wrap: on
line diff
--- a/cbrt_tablegen.c	Sun Jun 27 09:44:10 2010 +0000
+++ b/cbrt_tablegen.c	Sun Jun 27 12:20:39 2010 +0000
@@ -32,7 +32,7 @@
     write_fileheader();
 
     printf("static const uint32_t cbrt_tab[1<<13] = {\n");
-    write_uint32_array(cbrt_tab, 1 << 13);
+    write_uint32_t_array(cbrt_tab, 1 << 13);
     printf("};\n");
 
     return 0;