Mercurial > pub > dyncall > dyncall
comparison test/suite/main.c @ 413:d73dc7ad37e4
- fix nameclash due to a previous and bad cleanup
author | Tassilo Philipp |
---|---|
date | Thu, 07 Oct 2021 11:29:36 +0200 |
parents | 7608e34098b0 |
children | 0f40e13a2f0a |
comparison
equal
deleted
inserted
replaced
412:beb15f1065e6 | 413:d73dc7ad37e4 |
---|---|
108 | 108 |
109 | 109 |
110 #define test(x) if (!(x)) return DC_FALSE | 110 #define test(x) if (!(x)) return DC_FALSE |
111 | 111 |
112 | 112 |
113 DCbool test(int x) | 113 DCbool test_case(int x) |
114 { | 114 { |
115 int y = x; | 115 int y = x; |
116 int selects[NARGS] = { 0, }; | 116 int selects[NARGS] = { 0, }; |
117 int pos, i; | 117 int pos, i; |
118 | 118 |
151 { | 151 { |
152 DCbool tr = DC_TRUE, r; | 152 DCbool tr = DC_TRUE, r; |
153 int i; | 153 int i; |
154 for(i=from; i<to; ++i) { | 154 for(i=from; i<to; ++i) { |
155 printf("%d:",i); | 155 printf("%d:",i); |
156 r = test(i); | 156 r = test_case(i); |
157 printf("%d\n", r); | 157 printf("%d\n", r); |
158 tr &= r; | 158 tr &= r; |
159 } | 159 } |
160 return tr; | 160 return tr; |
161 } | 161 } |