UriBase.h | UriBase.h | |||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
#ifndef URI_BASE_H | #ifndef URI_BASE_H | |||
#define URI_BASE_H 1 | #define URI_BASE_H 1 | |||
/* Version helper macro */ | /* Version helper macro */ | |||
#define URI_ANSI_TO_UNICODE(x) L##x | #define URI_ANSI_TO_UNICODE(x) L##x | |||
/* Version */ | /* Version */ | |||
#define URI_VER_MAJOR 0 | #define URI_VER_MAJOR 0 | |||
#define URI_VER_MINOR 4 | #define URI_VER_MINOR 4 | |||
#define URI_VER_RELEASE 0 | #define URI_VER_RELEASE 1 | |||
#define URI_VER_SUFFIX_ANSI "" | #define URI_VER_SUFFIX_ANSI "" | |||
#define URI_VER_SUFFIX_UNICODE URI_ANSI_TO_UNICODE(URI_VER_SUFFIX_ANSI) | #define URI_VER_SUFFIX_UNICODE URI_ANSI_TO_UNICODE(URI_VER_SUFFIX_ANSI) | |||
/* More version helper macros */ | /* More version helper macros */ | |||
#define URI_INT_TO_ANSI_HELPER(x) #x | #define URI_INT_TO_ANSI_HELPER(x) #x | |||
#define URI_INT_TO_ANSI(x) URI_INT_TO_ANSI_HELPER(x) | #define URI_INT_TO_ANSI(x) URI_INT_TO_ANSI_HELPER(x) | |||
#define URI_INT_TO_UNICODE_HELPER(x) URI_ANSI_TO_UNICODE(#x) | #define URI_INT_TO_UNICODE_HELPER(x) URI_ANSI_TO_UNICODE(#x) | |||
#define URI_INT_TO_UNICODE(x) URI_INT_TO_UNICODE_HELPER(x) | #define URI_INT_TO_UNICODE(x) URI_INT_TO_UNICODE_HELPER(x) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
UriDefsAnsi.h | UriDefsAnsi.h | |||
---|---|---|---|---|
skipping to change at line 69 | skipping to change at line 69 | |||
#define URI_TYPE(x) Uri##x##A | #define URI_TYPE(x) Uri##x##A | |||
#undef URI_STRLEN | #undef URI_STRLEN | |||
#define URI_STRLEN strlen | #define URI_STRLEN strlen | |||
#undef URI_STRCPY | #undef URI_STRCPY | |||
#define URI_STRCPY strcpy | #define URI_STRCPY strcpy | |||
#undef URI_STRCMP | #undef URI_STRCMP | |||
#define URI_STRCMP strcmp | #define URI_STRCMP strcmp | |||
#undef URI_STRNCMP | #undef URI_STRNCMP | |||
#define URI_STRNCMP strncmp | #define URI_STRNCMP strncmp | |||
#undef URI_PRINTF | ||||
#define URI_PRINTF printf | #undef URI_SNPRINTF | |||
#define URI_SNPRINTF snprintf | ||||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 0 lines changed or added | |||
UriDefsUnicode.h | UriDefsUnicode.h | |||
---|---|---|---|---|
skipping to change at line 69 | skipping to change at line 69 | |||
#define URI_TYPE(x) Uri##x##W | #define URI_TYPE(x) Uri##x##W | |||
#undef URI_STRLEN | #undef URI_STRLEN | |||
#define URI_STRLEN wcslen | #define URI_STRLEN wcslen | |||
#undef URI_STRCPY | #undef URI_STRCPY | |||
#define URI_STRCPY wcscpy | #define URI_STRCPY wcscpy | |||
#undef URI_STRCMP | #undef URI_STRCMP | |||
#define URI_STRCMP wcscmp | #define URI_STRCMP wcscmp | |||
#undef URI_STRNCMP | #undef URI_STRNCMP | |||
#define URI_STRNCMP wcsncmp | #define URI_STRNCMP wcsncmp | |||
#undef URI_PRINTF | ||||
#define URI_PRINTF wprintf | #undef URI_SNPRINTF | |||
#if (defined(__WIN32__) || defined(WIN32)) | ||||
# define URI_SNPRINTF _snwprintf | ||||
#else | ||||
# define URI_SNPRINTF swprintf | ||||
#endif | ||||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 0 lines changed or added | |||