This is myctype.h in view mode; [Download] [Up]
#ifndef Py_MYCTYPE_H #define Py_MYCTYPE_H #ifdef __cplusplus extern "C" { #endif /*********************************************************** Copyright 1991-1996 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of Stichting Mathematisch Centrum or CWI not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ /* Include this file instead of <ctype.h> */ #if defined(NeXT) && !defined(GNU_RUNTIME) #if NS_TARGET_MAJOR >= 4 #include <objc/NXCType.h> #else #include <appkit/NXCType.h> #endif #define isalnum(c) NXIsAlNum((unsigned int) c) #define isalpha(c) NXIsAlpha((unsigned int) c) #define iscntrl(c) NXIsCntrl((unsigned int) c) #define isdigit(c) NXIsDigit((unsigned int) c) #define isgraph(c) NXIsGraph((unsigned int) c) #define islower(c) NXIsLower((unsigned int) c) #define isprint(c) NXIsPrint((unsigned int) c) #define ispunct(c) NXIsPunct((unsigned int) c) #define isspace(c) NXIsSpace((unsigned int) c) #define isupper(c) NXIsUpper((unsigned int) c) #define isxdigit(c) NXIsXDigit((unsigned int) c) #define tolower(c) NXToLower((unsigned int) c) #define toupper(c) NXToUpper((unsigned int) c) #else #include <ctype.h> #endif #ifdef __cplusplus } #endif #endif /* !Py_MYCTYPE_H */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.