Where Online Learning is simpler!
The C and C++ Include Header Files
cat -n /usr/include/python3.14/ImPlatform.h
1 /* 2 * The Python Imaging Library 3 * $Id$ 4 * 5 * platform declarations for the imaging core library 6 * 7 * Copyright (c) Fredrik Lundh 1995-2003. 8 */ 9 10 #define PY_SSIZE_T_CLEAN 11 #include "Python.h" 12 13 /* Check that we have an ANSI compliant compiler */ 14 #ifndef HAVE_PROTOTYPES 15 #error Sorry, this library requires support for ANSI prototypes. 16 #endif 17 #ifndef STDC_HEADERS 18 #error Sorry, this library requires ANSI header files. 19 #endif 20 21 #if defined(PIL_NO_INLINE) 22 #define inline 23 #else 24 #if defined(_MSC_VER) && !defined(__GNUC__) 25 #define inline __inline 26 #endif 27 #endif 28 29 #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */ 30 31 #define WIN32_LEAN_AND_MEAN 32 #include <Windows.h> 33 34 #ifdef __CYGWIN__ 35 #undef _WIN64 36 #undef _WIN32 37 #undef __WIN32__ 38 #undef WIN32 39 #endif 40 41 #else /* not WIN */ 42 /* For System that are not Windows, we'll need to define these. */ 43 /* We have to define them instead of using typedef because the JPEG lib also 44 defines their own types with the same names, so we need to be able to undef 45 ours before including the JPEG code. */ 46 47 #include <stdint.h> 48 49 #define INT8 int8_t 50 #define UINT8 uint8_t 51 #define INT16 int16_t 52 #define UINT16 uint16_t 53 #define INT32 int32_t 54 #define UINT32 uint32_t 55 56 #endif /* not WIN */ 57 58 /* assume IEEE; tweak if necessary (patches are welcome) */ 59 #define FLOAT16 UINT16 60 #define FLOAT32 float 61 #define FLOAT64 double 62 63 #ifdef _MSC_VER 64 typedef signed __int64 int64_t; 65 #endif 66 67 #ifdef __GNUC__ 68 #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) 69 #endif