comparison src/text.h @ 5922:4b055de36bb9 cygwin

merging heads 2
author Henry Thompson <ht@markup.co.uk>
date Fri, 27 Feb 2015 17:47:15 +0000
parents b3824b7f5627
children 15041705c196 96fb76dd98df
comparison
equal deleted inserted replaced
5921:68639fb08af8 5922:4b055de36bb9
640 do { \ 640 do { \
641 const Ascbyte *aiaz2 = (ptr); \ 641 const Ascbyte *aiaz2 = (ptr); \
642 ASSERT_ASCTEXT_ASCII_LEN (aiaz2, strlen (aiaz2)); \ 642 ASSERT_ASCTEXT_ASCII_LEN (aiaz2, strlen (aiaz2)); \
643 } while (0) 643 } while (0)
644 #else 644 #else
645 #define ASSERT_ASCTEXT_ASCII_LEN(ptr, len) 645 #define ASSERT_ASCTEXT_ASCII_LEN(ptr, len) DO_NOTHING
646 #define ASSERT_ASCTEXT_ASCII(ptr) 646 #define ASSERT_ASCTEXT_ASCII(ptr) DO_NOTHING
647 #endif 647 #endif
648 648
649 /* -------------------------------------------------------------- */ 649 /* -------------------------------------------------------------- */
650 /* Working with the length (in bytes and characters) of a */ 650 /* Working with the length (in bytes and characters) of a */
651 /* section of internally-formatted text */ 651 /* section of internally-formatted text */