Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
11978:db5c3a602ddd | 11979:59f399926c12 |
---|---|
30 cbrt_tableinit(); | 30 cbrt_tableinit(); |
31 | 31 |
32 write_fileheader(); | 32 write_fileheader(); |
33 | 33 |
34 printf("static const uint32_t cbrt_tab[1<<13] = {\n"); | 34 printf("static const uint32_t cbrt_tab[1<<13] = {\n"); |
35 write_uint32_array(cbrt_tab, 1 << 13); | 35 write_uint32_t_array(cbrt_tab, 1 << 13); |
36 printf("};\n"); | 36 printf("};\n"); |
37 | 37 |
38 return 0; | 38 return 0; |
39 } | 39 } |