Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used

with correct type.
This commit is contained in:
Serhiy Storchaka 2016-05-16 09:42:29 +03:00
parent cbcc2fd641
commit bcde10aa7e
6 changed files with 15 additions and 12 deletions

View file

@ -1,5 +1,6 @@
/* NOTE: this API is -ONLY- for use with single byte character strings. */
/* Do not use it with Unicode. */
#if STRINGLIB_IS_UNICODE
# error "ctype.h only compatible with byte-wise strings"
#endif
#include "bytes_methods.h"