equal
deleted
inserted
replaced
207 } |
207 } |
208 memcpy(&ret, &t, sizeof(t)); |
208 memcpy(&ret, &t, sizeof(t)); |
209 return ret; |
209 return ret; |
210 } |
210 } |
211 |
211 |
|
212 /* This should be kept in sync with normcasespecs in encoding.py. */ |
|
213 enum normcase_spec { |
|
214 NORMCASE_LOWER = -1, |
|
215 NORMCASE_UPPER = 1, |
|
216 NORMCASE_OTHER = 0 |
|
217 }; |
|
218 |
212 #define MIN(a, b) (((a)<(b))?(a):(b)) |
219 #define MIN(a, b) (((a)<(b))?(a):(b)) |
213 /* VC9 doesn't include bool and lacks stdbool.h based on my searching */ |
220 /* VC9 doesn't include bool and lacks stdbool.h based on my searching */ |
214 #ifdef _MSC_VER |
221 #ifdef _MSC_VER |
215 #define true 1 |
222 #define true 1 |
216 #define false 0 |
223 #define false 0 |