util/dump: Use static assertion to detect string table size mismatches.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 23 Feb 2013 10:50:14 +0000 (10:50 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 23 Feb 2013 13:32:34 +0000 (13:32 +0000)
commit0d760a8160bbbd65a8b101fafb16fabd976ae0c9
tree64f57b72470988ffbb1982cbbe75dcc9ca587ed1
parent2fa9e4c97cd7580010a8aa2eb3026e8f2bdb0035
util/dump: Use static assertion to detect string table size mismatches.

Suggested by Brian Paul.

Could probably be extended to other enums.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_dump_defines.c