OLD | NEW |
1 #ifndef __CSUTILHXX__ | 1 #ifndef __CSUTILHXX__ |
2 #define __CSUTILHXX__ | 2 #define __CSUTILHXX__ |
3 | 3 |
4 #include "hunvisapi.h" | 4 #include "hunvisapi.h" |
5 | 5 |
6 // First some base level utility routines | 6 // First some base level utility routines |
7 | 7 |
8 #include <string.h> | 8 #include <string.h> |
9 #include "w_char.hxx" | 9 #include "w_char.hxx" |
10 #include "htypes.hxx" | 10 #include "htypes.hxx" |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 } | 211 } |
212 | 212 |
213 LIBHUNSPELL_DLL_EXPORTED inline char* HENTRY_FIND(struct hentry *h, const char *
p) | 213 LIBHUNSPELL_DLL_EXPORTED inline char* HENTRY_FIND(struct hentry *h, const char *
p) |
214 { | 214 { |
215 return (HENTRY_DATA(h) ? strstr(HENTRY_DATA(h), p) : NULL); | 215 return (HENTRY_DATA(h) ? strstr(HENTRY_DATA(h), p) : NULL); |
216 } | 216 } |
217 | 217 |
218 #define w_char_eq(a,b) (((a).l == (b).l) && ((a).h == (b).h)) | 218 #define w_char_eq(a,b) (((a).l == (b).l) && ((a).h == (b).h)) |
219 | 219 |
220 #endif | 220 #endif |
OLD | NEW |