diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2011-10-01 18:36:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-03 11:43:04 -0700 |
commit | c37c004b0e22806fd976abe5ece800656af2653e (patch) | |
tree | 945da1358dc363a4d87d167e62f39140a0299a26 /submodule.c | |
parent | f696543dad6c7ba27b0c4fab167a5687263a9ba0 (diff) | |
download | git-c37c004b0e22806fd976abe5ece800656af2653e.tar.gz git-c37c004b0e22806fd976abe5ece800656af2653e.tar.xz |
test-ctype: macrofy
Rewrite test-ctype to use a global variable and a macro instead of
wrapper functions for each character class and complicated structs
with loops going through them. The resulting code may be uglier,
but that's OK for a test program, and it's actually easier to read
and extend. And much shorter.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.c')
0 files changed, 0 insertions, 0 deletions