$ gcc -dD -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I./Include -I. -IInclude -I/cygdrive/c/temp/Python-3.4.0/Include -I/cygdrive/c/temp/Python-3.4.0 -DPy_BUILD_CORE -E /cygdrive/c/temp/Python-3.4.0/Modules/_struct.c # 1 "/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c" # 1 "/cygdrive/c/temp/Python-3.3.2//" # 1 "" #define __STDC__ 1 #define __STDC_HOSTED__ 1 #define __GNUC__ 4 #define __GNUC_MINOR__ 5 #define __GNUC_PATCHLEVEL__ 3 #define __SIZE_TYPE__ unsigned int #define __PTRDIFF_TYPE__ int #define __WCHAR_TYPE__ short unsigned int #define __WINT_TYPE__ unsigned int #define __INTMAX_TYPE__ long long int #define __UINTMAX_TYPE__ long long unsigned int #define __CHAR16_TYPE__ short unsigned int #define __CHAR32_TYPE__ unsigned int #define __SIG_ATOMIC_TYPE__ int #define __INT8_TYPE__ signed char #define __INT16_TYPE__ short int #define __INT32_TYPE__ int #define __INT64_TYPE__ long long int #define __UINT8_TYPE__ unsigned char #define __UINT16_TYPE__ short unsigned int #define __UINT32_TYPE__ unsigned int #define __UINT64_TYPE__ long long unsigned int #define __INT_LEAST8_TYPE__ signed char #define __INT_LEAST16_TYPE__ short int #define __INT_LEAST32_TYPE__ int #define __INT_LEAST64_TYPE__ long long int #define __UINT_LEAST8_TYPE__ unsigned char #define __UINT_LEAST16_TYPE__ short unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __UINT_LEAST64_TYPE__ long long unsigned int #define __INT_FAST8_TYPE__ signed char #define __INT_FAST16_TYPE__ int #define __INT_FAST32_TYPE__ int #define __INT_FAST64_TYPE__ long long int #define __UINT_FAST8_TYPE__ unsigned char #define __UINT_FAST16_TYPE__ unsigned int #define __UINT_FAST32_TYPE__ unsigned int #define __UINT_FAST64_TYPE__ long long unsigned int #define __INTPTR_TYPE__ int #define __UINTPTR_TYPE__ unsigned int #define __GXX_ABI_VERSION 1002 #define __SCHAR_MAX__ 127 #define __SHRT_MAX__ 32767 #define __INT_MAX__ 2147483647 #define __LONG_MAX__ 2147483647L #define __LONG_LONG_MAX__ 9223372036854775807LL #define __WCHAR_MAX__ 65535 #define __WCHAR_MIN__ 0 #define __WINT_MAX__ 4294967295U #define __WINT_MIN__ 0U #define __PTRDIFF_MAX__ 2147483647 #define __SIZE_MAX__ 4294967295U #define __CHAR_BIT__ 8 #define __INTMAX_MAX__ 9223372036854775807LL #define __INTMAX_C(c) c ## LL #define __UINTMAX_MAX__ 18446744073709551615ULL #define __UINTMAX_C(c) c ## ULL #define __SIG_ATOMIC_MAX__ 2147483647 #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __INT8_MAX__ 127 #define __INT16_MAX__ 32767 #define __INT32_MAX__ 2147483647 #define __INT64_MAX__ 9223372036854775807LL #define __UINT8_MAX__ 255 #define __UINT16_MAX__ 65535 #define __UINT32_MAX__ 4294967295U #define __UINT64_MAX__ 18446744073709551615ULL #define __INT_LEAST8_MAX__ 127 #define __INT8_C(c) c #define __INT_LEAST16_MAX__ 32767 #define __INT16_C(c) c #define __INT_LEAST32_MAX__ 2147483647 #define __INT32_C(c) c #define __INT_LEAST64_MAX__ 9223372036854775807LL #define __INT64_C(c) c ## LL #define __UINT_LEAST8_MAX__ 255 #define __UINT8_C(c) c #define __UINT_LEAST16_MAX__ 65535 #define __UINT16_C(c) c #define __UINT_LEAST32_MAX__ 4294967295U #define __UINT32_C(c) c ## U #define __UINT_LEAST64_MAX__ 18446744073709551615ULL #define __UINT64_C(c) c ## ULL #define __INT_FAST8_MAX__ 127 #define __INT_FAST16_MAX__ 2147483647 #define __INT_FAST32_MAX__ 2147483647 #define __INT_FAST64_MAX__ 9223372036854775807LL #define __UINT_FAST8_MAX__ 255 #define __UINT_FAST16_MAX__ 4294967295U #define __UINT_FAST32_MAX__ 4294967295U #define __UINT_FAST64_MAX__ 18446744073709551615ULL #define __INTPTR_MAX__ 2147483647 #define __UINTPTR_MAX__ 4294967295U #define __FLT_EVAL_METHOD__ 2 #define __DEC_EVAL_METHOD__ 2 #define __FLT_RADIX__ 2 #define __FLT_MANT_DIG__ 24 #define __FLT_DIG__ 6 #define __FLT_MIN_EXP__ (-125) #define __FLT_MIN_10_EXP__ (-37) #define __FLT_MAX_EXP__ 128 #define __FLT_MAX_10_EXP__ 38 #define __FLT_MAX__ 3.40282346638528859812e+38F #define __FLT_MIN__ 1.17549435082228750797e-38F #define __FLT_EPSILON__ 1.19209289550781250000e-7F #define __FLT_DENORM_MIN__ 1.40129846432481707092e-45F #define __FLT_HAS_DENORM__ 1 #define __FLT_HAS_INFINITY__ 1 #define __FLT_HAS_QUIET_NAN__ 1 #define __DBL_MANT_DIG__ 53 #define __DBL_DIG__ 15 #define __DBL_MIN_EXP__ (-1021) #define __DBL_MIN_10_EXP__ (-307) #define __DBL_MAX_EXP__ 1024 #define __DBL_MAX_10_EXP__ 308 #define __DBL_MAX__ ((double)1.79769313486231570815e+308L) #define __DBL_MIN__ ((double)2.22507385850720138309e-308L) #define __DBL_EPSILON__ ((double)2.22044604925031308085e-16L) #define __DBL_DENORM_MIN__ ((double)4.94065645841246544177e-324L) #define __DBL_HAS_DENORM__ 1 #define __DBL_HAS_INFINITY__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define __LDBL_MANT_DIG__ 64 #define __LDBL_DIG__ 18 #define __LDBL_MIN_EXP__ (-16381) #define __LDBL_MIN_10_EXP__ (-4931) #define __LDBL_MAX_EXP__ 16384 #define __LDBL_MAX_10_EXP__ 4932 #define __DECIMAL_DIG__ 21 #define __LDBL_MAX__ 1.18973149535723176502e+4932L #define __LDBL_MIN__ 3.36210314311209350626e-4932L #define __LDBL_EPSILON__ 1.08420217248550443401e-19L #define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L #define __LDBL_HAS_DENORM__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __LDBL_HAS_QUIET_NAN__ 1 #define __DEC32_MANT_DIG__ 7 #define __DEC32_MIN_EXP__ (-94) #define __DEC32_MAX_EXP__ 97 #define __DEC32_MIN__ 1E-95DF #define __DEC32_MAX__ 9.999999E96DF #define __DEC32_EPSILON__ 1E-6DF #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __DEC64_MANT_DIG__ 16 #define __DEC64_MIN_EXP__ (-382) #define __DEC64_MAX_EXP__ 385 #define __DEC64_MIN__ 1E-383DD #define __DEC64_MAX__ 9.999999999999999E384DD #define __DEC64_EPSILON__ 1E-15DD #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __DEC128_MIN_EXP__ (-6142) #define __DEC128_MAX_EXP__ 6145 #define __DEC128_MIN__ 1E-6143DL #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __DEC128_EPSILON__ 1E-33DL #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __REGISTER_PREFIX__ #define __USER_LABEL_PREFIX__ _ #define __VERSION__ "4.5.3" #define __GNUC_GNU_INLINE__ 1 #define __OPTIMIZE__ 1 #define __FINITE_MATH_ONLY__ 0 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZEOF_INT__ 4 #define __SIZEOF_LONG__ 4 #define __SIZEOF_LONG_LONG__ 8 #define __SIZEOF_SHORT__ 2 #define __SIZEOF_FLOAT__ 4 #define __SIZEOF_DOUBLE__ 8 #define __SIZEOF_LONG_DOUBLE__ 12 #define __SIZEOF_SIZE_T__ 4 #define __SIZEOF_WCHAR_T__ 2 #define __SIZEOF_WINT_T__ 4 #define __SIZEOF_PTRDIFF_T__ 4 #define __SIZEOF_POINTER__ 4 #define __i386 1 #define __i386__ 1 #define i386 1 #define __i686 1 #define __i686__ 1 #define __pentiumpro 1 #define __pentiumpro__ 1 #define _X86_ 1 #define __stdcall __attribute__((__stdcall__)) #define __fastcall __attribute__((__fastcall__)) #define __cdecl __attribute__((__cdecl__)) #define _stdcall __attribute__((__stdcall__)) #define _fastcall __attribute__((__fastcall__)) #define _cdecl __attribute__((__cdecl__)) #define __GXX_MERGED_TYPEINFO_NAMES 0 #define __GXX_TYPEINFO_EQUALITY_INLINE 0 #define __declspec(x) __attribute__((x)) #define __BIGGEST_ALIGNMENT__ 16 # 1 "" #define __CYGWIN32__ 1 #define __CYGWIN__ 1 #define unix 1 #define __unix__ 1 #define __unix 1 #define NDEBUG 1 #define Py_BUILD_CORE 1 # 1 "/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c" #define PY_SSIZE_T_CLEAN # 1 "./Include/Python.h" 1 #define Py_PYTHON_H # 1 "./Include/patchlevel.h" 1 # 11 "./Include/patchlevel.h" #define PY_RELEASE_LEVEL_ALPHA 0xA #define PY_RELEASE_LEVEL_BETA 0xB #define PY_RELEASE_LEVEL_GAMMA 0xC #define PY_RELEASE_LEVEL_FINAL 0xF #define PY_MAJOR_VERSION 3 #define PY_MINOR_VERSION 3 #define PY_MICRO_VERSION 2 #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL #define PY_RELEASE_SERIAL 0 #define PY_VERSION "3.3.2" #define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | (PY_MINOR_VERSION << 16) | (PY_MICRO_VERSION << 8) | (PY_RELEASE_LEVEL << 4) | (PY_RELEASE_SERIAL << 0)) # 8 "./Include/Python.h" 2 # 1 "./pyconfig.h" 1 #define Py_PYCONFIG_H # 26 "./pyconfig.h" #define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1 #define ENABLE_IPV6 1 # 42 "./pyconfig.h" #define HAVE_ACCEPT4 1 #define HAVE_ACOSH 1 #define HAVE_ADDRINFO 1 #define HAVE_ALARM 1 #define HAVE_ASINH 1 #define HAVE_ASM_TYPES_H 1 #define HAVE_ATANH 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 # 82 "./pyconfig.h" #define HAVE_BROKEN_NICE 1 # 94 "./pyconfig.h" #define HAVE_BROKEN_PTHREAD_SIGMASK 1 # 103 "./pyconfig.h" #define HAVE_C99_BOOL 1 #define HAVE_CHOWN 1 #define HAVE_CHROOT 1 #define HAVE_CLOCK 1 #define HAVE_CLOCK_GETRES 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_COMPUTED_GOTOS 1 #define HAVE_CONFSTR 1 #define HAVE_COPYSIGN 1 #define HAVE_CTERMID 1 # 155 "./pyconfig.h" #define HAVE_DECL_ISFINITE 1 #define HAVE_DECL_ISINF 1 #define HAVE_DECL_ISNAN 1 #define HAVE_DECL_TZNAME 1 #define HAVE_DEVICE_MACROS 1 #define HAVE_DEV_PTMX 1 #define HAVE_DIRENT_H 1 #define HAVE_DIRFD 1 #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DUP2 1 #define HAVE_DYNAMIC_LOADING 1 # 207 "./pyconfig.h" #define HAVE_ERF 1 #define HAVE_ERFC 1 #define HAVE_ERRNO_H 1 #define HAVE_EXECV 1 #define HAVE_EXPM1 1 #define HAVE_FACCESSAT 1 #define HAVE_FCHDIR 1 #define HAVE_FCHMOD 1 #define HAVE_FCHMODAT 1 #define HAVE_FCHOWN 1 #define HAVE_FCHOWNAT 1 #define HAVE_FCNTL_H 1 #define HAVE_FDATASYNC 1 #define HAVE_FDOPENDIR 1 #define HAVE_FEXECVE 1 #define HAVE_FINITE 1 #define HAVE_FLOCK 1 #define HAVE_FORK 1 #define HAVE_FORKPTY 1 #define HAVE_FPATHCONF 1 #define HAVE_FSEEKO 1 #define HAVE_FSTATAT 1 #define HAVE_FSTATVFS 1 #define HAVE_FSYNC 1 #define HAVE_FTELLO 1 #define HAVE_FTIME 1 #define HAVE_FTRUNCATE 1 #define HAVE_FUTIMENS 1 #define HAVE_FUTIMES 1 #define HAVE_FUTIMESAT 1 #define HAVE_GAI_STRERROR 1 #define HAVE_GAMMA 1 #define HAVE_GCC_ASM_FOR_X87 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETCWD 1 #define HAVE_GETC_UNLOCKED 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETGROUPS 1 #define HAVE_GETHOSTBYNAME 1 # 349 "./pyconfig.h" #define HAVE_GETITIMER 1 #define HAVE_GETLOGIN 1 #define HAVE_GETNAMEINFO 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPEERNAME 1 #define HAVE_GETPGID 1 #define HAVE_GETPGRP 1 #define HAVE_GETPID 1 #define HAVE_GETPRIORITY 1 #define HAVE_GETPWENT 1 # 388 "./pyconfig.h" #define HAVE_GETSID 1 # 397 "./pyconfig.h" #define HAVE_GETTIMEOFDAY 1 #define HAVE_GETWD 1 #define HAVE_GRP_H 1 #define HAVE_HSTRERROR 1 #define HAVE_HYPOT 1 #define HAVE_IEEEFP_H 1 #define HAVE_IF_NAMEINDEX 1 #define HAVE_INET_ATON 1 #define HAVE_INET_PTON 1 #define HAVE_INITGROUPS 1 #define HAVE_INT32_T 1 #define HAVE_INT64_T 1 #define HAVE_INTTYPES_H 1 #define HAVE_IO_H 1 #define HAVE_KILL 1 #define HAVE_KILLPG 1 #define HAVE_LANGINFO_H 1 #define HAVE_LARGEFILE_SUPPORT 1 # 470 "./pyconfig.h" #define HAVE_LCHOWN 1 #define HAVE_LGAMMA 1 #define HAVE_LIBDL 1 # 485 "./pyconfig.h" #define HAVE_LIBINTL_H 1 # 500 "./pyconfig.h" #define HAVE_LINK 1 #define HAVE_LINKAT 1 # 518 "./pyconfig.h" #define HAVE_LOCKF 1 #define HAVE_LOG1P 1 #define HAVE_LOG2 1 #define HAVE_LONG_DOUBLE 1 #define HAVE_LONG_LONG 1 #define HAVE_LSTAT 1 #define HAVE_LUTIMES 1 #define HAVE_MAKEDEV 1 #define HAVE_MBRTOWC 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 #define HAVE_MEMRCHR 1 #define HAVE_MKDIRAT 1 #define HAVE_MKFIFO 1 #define HAVE_MKFIFOAT 1 #define HAVE_MKNOD 1 #define HAVE_MKNODAT 1 #define HAVE_MKTIME 1 #define HAVE_MMAP 1 # 587 "./pyconfig.h" #define HAVE_NET_IF_H 1 #define HAVE_NICE 1 #define HAVE_OPENAT 1 #define HAVE_OPENPTY 1 #define HAVE_PATHCONF 1 #define HAVE_PAUSE 1 #define HAVE_PIPE2 1 #define HAVE_POLL 1 #define HAVE_POLL_H 1 #define HAVE_POSIX_FADVISE 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_PREAD 1 #define HAVE_PROCESS_H 1 #define HAVE_PROTOTYPES 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_KILL 1 #define HAVE_PTHREAD_SIGMASK 1 #define HAVE_PTY_H 1 #define HAVE_PUTENV 1 #define HAVE_PWRITE 1 #define HAVE_READLINK 1 #define HAVE_READLINKAT 1 #define HAVE_READV 1 #define HAVE_REALPATH 1 #define HAVE_RENAMEAT 1 # 695 "./pyconfig.h" #define HAVE_ROUND 1 #define HAVE_SCHED_GET_PRIORITY_MAX 1 #define HAVE_SCHED_H 1 #define HAVE_SCHED_RR_GET_INTERVAL 1 #define HAVE_SCHED_SETPARAM 1 #define HAVE_SCHED_SETSCHEDULER 1 #define HAVE_SELECT 1 #define HAVE_SEM_GETVALUE 1 #define HAVE_SEM_OPEN 1 #define HAVE_SEM_TIMEDWAIT 1 #define HAVE_SEM_UNLINK 1 #define HAVE_SETEGID 1 #define HAVE_SETEUID 1 #define HAVE_SETGID 1 #define HAVE_SETGROUPS 1 #define HAVE_SETITIMER 1 #define HAVE_SETLOCALE 1 #define HAVE_SETPGID 1 #define HAVE_SETPGRP 1 #define HAVE_SETPRIORITY 1 #define HAVE_SETREGID 1 # 773 "./pyconfig.h" #define HAVE_SETREUID 1 #define HAVE_SETSID 1 #define HAVE_SETUID 1 #define HAVE_SETVBUF 1 #define HAVE_SIGACTION 1 #define HAVE_SIGINTERRUPT 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIGPENDING 1 #define HAVE_SIGRELSE 1 #define HAVE_SIGWAIT 1 #define HAVE_SIGWAITINFO 1 #define HAVE_SNPRINTF 1 #define HAVE_SOCKADDR_STORAGE 1 #define HAVE_SOCKETPAIR 1 #define HAVE_SSIZE_T 1 #define HAVE_STATVFS 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STDARG_PROTOTYPES 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRDUP 1 #define HAVE_STRFTIME 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRLCPY 1 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 #define HAVE_STRUCT_STAT_ST_BLOCKS 1 # 885 "./pyconfig.h" #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_BLOCKS 1 #define HAVE_SYMLINK 1 #define HAVE_SYMLINKAT 1 #define HAVE_SYNC 1 #define HAVE_SYSCONF 1 #define HAVE_SYSEXITS_H 1 # 929 "./pyconfig.h" #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 # 941 "./pyconfig.h" #define HAVE_SYS_LOCK_H 1 # 954 "./pyconfig.h" #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_STAT_H 1 # 984 "./pyconfig.h" #define HAVE_SYS_TERMIO_H 1 #define HAVE_SYS_TIMES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TCGETPGRP 1 #define HAVE_TCSETPGRP 1 #define HAVE_TEMPNAM 1 #define HAVE_TERMIOS_H 1 #define HAVE_TGAMMA 1 #define HAVE_TIMEGM 1 #define HAVE_TIMES 1 #define HAVE_TMPFILE 1 #define HAVE_TMPNAM 1 # 1048 "./pyconfig.h" #define HAVE_TRUNCATE 1 #define HAVE_TZNAME 1 #define HAVE_UINT32_T 1 #define HAVE_UINT64_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_UNAME 1 #define HAVE_UNISTD_H 1 #define HAVE_UNLINKAT 1 #define HAVE_UNSETENV 1 #define HAVE_USABLE_WCHAR_T 1 #define HAVE_UTIMENSAT 1 #define HAVE_UTIMES 1 #define HAVE_UTIME_H 1 #define HAVE_WAIT3 1 #define HAVE_WAIT4 1 #define HAVE_WAITPID 1 #define HAVE_WCHAR_H 1 #define HAVE_WCSCOLL 1 #define HAVE_WCSFTIME 1 #define HAVE_WCSXFRM 1 #define HAVE_WORKING_TZSET 1 #define HAVE_WRITEV 1 # 1174 "./pyconfig.h" #define PY_FORMAT_LONG_LONG "ll" #define PY_FORMAT_SIZE_T "z" #define Py_ENABLE_SHARED 1 #define RETSIGTYPE void # 1195 "./pyconfig.h" #define SIZEOF_DOUBLE 8 #define SIZEOF_FLOAT 4 #define SIZEOF_FPOS_T 8 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_LONG_DOUBLE 12 #define SIZEOF_LONG_LONG 8 #define SIZEOF_OFF_T 8 #define SIZEOF_PID_T 4 #define SIZEOF_PTHREAD_T 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_TIME_T 4 #define SIZEOF_UINTPTR_T 4 #define SIZEOF_VOID_P 4 #define SIZEOF_WCHAR_T 2 #define SIZEOF__BOOL 1 #define STDC_HEADERS 1 #define SYS_SELECT_WITH_SYS_TIME 1 #define TANH_PRESERVES_ZERO_SIGN 1 #define TIME_WITH_SYS_TIME 1 # 1268 "./pyconfig.h" #define USE_INLINE 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define __EXTENSIONS__ 1 # 1302 "./pyconfig.h" #define WITH_DOC_STRINGS 1 #define WITH_LIBINTL 1 #define WITH_PYMALLOC 1 #define WITH_THREAD 1 # 1341 "./pyconfig.h" #define X87_DOUBLE_ROUNDING 1 #define _BSD_TYPES 1 #define _DARWIN_C_SOURCE 1 #define _FILE_OFFSET_BITS 64 #define _GNU_SOURCE 1 #define _LARGEFILE_SOURCE 1 # 1368 "./pyconfig.h" #define _NETBSD_SOURCE 1 #define _POSIX_C_SOURCE 200809L # 1384 "./pyconfig.h" #define _REENTRANT 1 # 1397 "./pyconfig.h" #define _XOPEN_SOURCE 700 #define _XOPEN_SOURCE_EXTENDED 1 #define __BSD_VISIBLE 1 # 9 "./Include/Python.h" 2 # 1 "./Include/pymacconfig.h" 1 #define PYMACCONFIG_H # 10 "./Include/Python.h" 2 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include-fixed/limits.h" 1 3 4 # 30 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include-fixed/limits.h" 3 4 #define _GCC_LIMITS_H_ # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include-fixed/syslimits.h" 1 3 4 #define _GCC_NEXT_LIMITS_H # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include-fixed/limits.h" 1 3 4 # 169 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include-fixed/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 14 "/usr/include/limits.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 12 "/usr/include/features.h" 3 4 #define _FEATURES_H # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 45 "/usr/include/sys/cdefs.h" 3 4 #define _SYS_CDEFS_H #define __FBSDID(x) #define __P(args) args #define __PMT(args) args #define __const const #define __signed signed #define __volatile volatile #define __DOTS , ... #define __THROW # 73 "/usr/include/sys/cdefs.h" 3 4 #define __CONCAT1(x,y) x ## y #define __CONCAT(x,y) __CONCAT1(x,y) #define __STRING(x) #x #define __XSTRING(x) __STRING(x) #define __ASMNAME(cname) __XSTRING (__USER_LABEL_PREFIX__) cname #define __ptr_t void * #define __long_double_t long double #define __attribute_malloc__ #define __attribute_pure__ #define __attribute_format_strfmon__(a,b) #define __flexarr [0] #define __BEGIN_DECLS #define __END_DECLS #define __bounded #define __unbounded #define __ptrvalue #define __strong_reference(sym,aliassym) extern __typeof (sym) aliassym __attribute__ ((__alias__ (#sym))); # 127 "/usr/include/sys/cdefs.h" 3 4 #define __weak_reference(sym,alias) __asm__(".stabs \"_" #alias "\",11,0,0,0"); __asm__(".stabs \"_" #sym "\",1,0,0,0") #define __warn_references(sym,msg) __asm__(".stabs \"" msg "\",30,0,0,0"); __asm__(".stabs \"_" #sym "\",1,0,0,0") # 15 "/usr/include/features.h" 2 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 22 "/usr/include/sys/features.h" 3 4 #define _SYS_FEATURES_H # 31 "/usr/include/sys/features.h" 3 4 #define __GNUC_PREREQ(maj,min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) # 107 "/usr/include/sys/features.h" 3 4 #define _POSIX_VERSION 200112L #define _POSIX2_VERSION 200112L #define _XOPEN_VERSION 600 #define _POSIX_ADVISORY_INFO 200112L #define _POSIX_CHOWN_RESTRICTED 1 #define _POSIX_CLOCK_SELECTION 200112L #define _POSIX_CPUTIME 200112L #define _POSIX_FSYNC 200112L #define _POSIX_IPV6 200112L #define _POSIX_JOB_CONTROL 1 #define _POSIX_MAPPED_FILES 200112L #define _POSIX_MEMLOCK_RANGE 200112L #define _POSIX_MEMORY_PROTECTION 200112L #define _POSIX_MESSAGE_PASSING 200112L #define _POSIX_MONOTONIC_CLOCK 200112L #define _POSIX_NO_TRUNC 1 #define _POSIX_PRIORITY_SCHEDULING 200112L #define _POSIX_RAW_SOCKETS 200112L #define _POSIX_READER_WRITER_LOCKS 200112L #define _POSIX_REALTIME_SIGNALS 200112L #define _POSIX_REGEXP 1 #define _POSIX_SAVED_IDS 1 #define _POSIX_SEMAPHORES 200112L #define _POSIX_SHARED_MEMORY_OBJECTS 200112L #define _POSIX_SHELL 1 #define _POSIX_SPIN_LOCKS 200112L #define _POSIX_SYNCHRONIZED_IO 200112L #define _POSIX_THREAD_ATTR_STACKADDR 200112L #define _POSIX_THREAD_ATTR_STACKSIZE 200112L #define _POSIX_THREAD_CPUTIME 200112L #define _POSIX_THREAD_PRIORITY_SCHEDULING 200112L #define _POSIX_THREAD_PROCESS_SHARED 200112L #define _POSIX_THREAD_SAFE_FUNCTIONS 200112L #define _POSIX_THREADS 200112L #define _POSIX_TIMERS 1 #define _POSIX_VDISABLE '\0' #define _POSIX2_C_BIND 200112L #define _POSIX2_C_DEV 200112L #define _POSIX2_CHAR_TERM 200112L # 171 "/usr/include/sys/features.h" 3 4 #define _POSIX2_SW_DEV 200112L #define _POSIX2_UPE 200112L #define _POSIX_V6_ILP32_OFF32 -1 #define _XBS5_ILP32_OFF32 _POSIX_V6_ILP32_OFF32 #define _POSIX_V6_ILP32_OFFBIG 1 #define _XBS5_ILP32_OFFBIG _POSIX_V6_ILP32_OFFBIG #define _POSIX_V6_LP64_OFF64 -1 #define _XBS5_LP64_OFF64 _POSIX_V6_LP64_OFF64 #define _POSIX_V6_LPBIG_OFFBIG -1 #define _XBS5_LPBIG_OFFBIG _POSIX_V6_LPBIG_OFFBIG #define _XOPEN_CRYPT 1 #define _XOPEN_ENH_I18N 1 #define _XOPEN_SHM 1 # 195 "/usr/include/sys/features.h" 3 4 #define __STDC_ISO_10646__ 200305L # 16 "/usr/include/features.h" 2 3 4 # 15 "/usr/include/limits.h" 2 3 4 #define _LIMITS_H___ #define _MACH_MACHLIMITS_H_ #undef CHAR_BIT #define CHAR_BIT 8 #undef LONG_BIT #define LONG_BIT 32 #undef WORD_BIT #define WORD_BIT 32 #define MB_LEN_MAX 8 #undef SCHAR_MIN #define SCHAR_MIN (-128) #undef SCHAR_MAX #define SCHAR_MAX 127 #undef UCHAR_MAX #define UCHAR_MAX 255 # 60 "/usr/include/limits.h" 3 4 #undef CHAR_MIN #define CHAR_MIN (-128) #undef CHAR_MAX #define CHAR_MAX 127 #undef SHRT_MIN #define SHRT_MIN (-32768) #undef SHRT_MAX #define SHRT_MAX 32767 #undef USHRT_MAX #define USHRT_MAX 65535 #undef INT_MIN #define INT_MIN (-INT_MAX-1) #undef INT_MAX #define INT_MAX __INT_MAX__ #undef UINT_MAX #define UINT_MAX (INT_MAX * 2U + 1) # 98 "/usr/include/limits.h" 3 4 #undef LONG_MIN #define LONG_MIN (-LONG_MAX-1) #undef LONG_MAX #define LONG_MAX __LONG_MAX__ #undef ULONG_MAX #define ULONG_MAX (LONG_MAX * 2UL + 1) #undef LONG_LONG_MIN #define LONG_LONG_MIN (-LONG_LONG_MAX-1) #undef LONG_LONG_MAX #define LONG_LONG_MAX __LONG_LONG_MAX__ #undef ULONG_LONG_MAX #define ULONG_LONG_MAX (LONG_LONG_MAX * 2ULL + 1) #undef LLONG_MIN #define LLONG_MIN (-LLONG_MAX-1) #undef LLONG_MAX #define LLONG_MAX __LONG_LONG_MAX__ #undef ULLONG_MAX #define ULLONG_MAX (LLONG_MAX * 2ULL + 1) #undef SSIZE_MAX #define SSIZE_MAX (__LONG_MAX__) # 149 "/usr/include/limits.h" 3 4 #undef AIO_LISTIO_MAX #undef AIO_MAX #undef AIO_PRIO_DELTA_MAX #undef ARG_MAX #define ARG_MAX 32000 #undef ATEXIT_MAX #define ATEXIT_MAX 32 #undef CHILD_MAX #define CHILD_MAX 256 #undef DELAYTIMER_MAX #undef HOST_NAME_MAX #define HOST_NAME_MAX 255 #undef IOV_MAX #define IOV_MAX 1024 #undef LOGIN_NAME_MAX #define LOGIN_NAME_MAX 256 #undef MQ_OPEN_MAX #define MQ_OPEN_MAX OPEN_MAX #undef MQ_PRIO_MAX #define MQ_PRIO_MAX INT_MAX #undef OPEN_MAX #define OPEN_MAX 256 #undef PAGESIZE #undef PAGE_SIZE #define PAGESIZE 65536 #define PAGE_SIZE PAGESIZE # 220 "/usr/include/limits.h" 3 4 #undef PTHREAD_DESTRUCTOR_ITERATIONS #define PTHREAD_DESTRUCTOR_ITERATIONS 1 #undef PTHREAD_KEYS_MAX #define PTHREAD_KEYS_MAX 32 # 236 "/usr/include/limits.h" 3 4 #undef PTHREAD_STACK_MIN #define PTHREAD_STACK_MIN 65536 #undef PTHREAD_THREADS_MAX #undef RTSIG_MAX #define RTSIG_MAX 1 #undef SEM_NSEMS_MAX #undef SEM_VALUE_MAX #define SEM_VALUE_MAX 1147483648 #undef SIGQUEUE_MAX #define SIGQUEUE_MAX 32 #undef SS_REPL_MAX #undef STREAM_MAX #define STREAM_MAX 20 #undef SYMLOOP_MAX #define SYMLOOP_MAX 10 #undef TIMER_MAX #define TIMER_MAX 32 #undef TRACE_EVENT_NAME_MAX #undef TRACE_NAME_MAX #undef TRACE_SYS_MAX #undef TRACE_USER_EVENT_MAX #undef TTY_NAME_MAX #define TTY_NAME_MAX 32 #undef TZNAME_MAX #undef FILESIZEBITS #define FILESIZEBITS 64 #undef LINK_MAX #define LINK_MAX 1024 #undef MAX_CANON #define MAX_CANON 255 #undef MAX_INPUT #define MAX_INPUT 255 #undef NAME_MAX #define NAME_MAX 255 #undef PATH_MAX #define PATH_MAX 4096 #undef PIPE_BUF #define PIPE_BUF 4096 #undef POSIX_ALLOC_SIZE_MIN #undef POSIX_REC_INCR_XFER_SIZE #undef POSIX_REC_MAX_XFER_SIZE #undef POSIX_REC_MIN_XFER_SIZE #undef POSIX_REC_XFER_ALIGN #undef SYMLINK_MAX #define SYMLINK_MAX (PATH_MAX - 1) #undef BC_BASE_MAX #define BC_BASE_MAX 99 #undef BC_DIM_MAX #define BC_DIM_MAX 2048 #undef BC_SCALE_MAX #define BC_SCALE_MAX 99 #undef BC_STRING_MAX #define BC_STRING_MAX 1000 #undef CHARCLASS_NAME_MAX # 399 "/usr/include/limits.h" 3 4 #undef COLL_WEIGHTS_MAX #undef EXPR_NEST_MAX #define EXPR_NEST_MAX 32 #undef LINE_MAX #define LINE_MAX 2048 #undef NGROUPS_MAX #define NGROUPS_MAX 1024 #undef RE_DUP_MAX #define RE_DUP_MAX 255 # 429 "/usr/include/limits.h" 3 4 #define _POSIX_CLOCKRES_MIN 20000000 #define _POSIX_AIO_LISTIO_MAX 2 #define _POSIX_AIO_MAX 1 #define _POSIX_ARG_MAX 4096 #define _POSIX_CHILD_MAX 25 #define _POSIX_DELAYTIMER_MAX 32 #define _POSIX_HOST_NAME_MAX 255 #define _POSIX_LINK_MAX 8 #define _POSIX_LOGIN_NAME_MAX 9 #define _POSIX_MAX_CANON 255 #define _POSIX_MAX_INPUT 255 #define _POSIX_MQ_OPEN_MAX 8 #define _POSIX_MQ_PRIO_MAX 32 #define _POSIX_NAME_MAX 14 #define _POSIX_NGROUPS_MAX 8 #define _POSIX_OPEN_MAX 20 #define _POSIX_PATH_MAX 256 #define _POSIX_PIPE_BUF 512 #define _POSIX_RE_DUP_MAX 255 #define _POSIX_RTSIG_MAX 8 #define _POSIX_SEM_NSEMS_MAX 256 #define _POSIX_SEM_VALUE_MAX 32767 #define _POSIX_SIGQUEUE_MAX 32 #define _POSIX_SSIZE_MAX 32767 #define _POSIX_STREAM_MAX 8 #define _POSIX_SS_REPL_MAX 4 #define _POSIX_SYMLINK_MAX 255 #define _POSIX_SYMLOOP_MAX 8 #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4 #define _POSIX_THREAD_KEYS_MAX 128 #define _POSIX_THREAD_THREADS_MAX 64 #define _POSIX_TIMER_MAX 32 #define _POSIX_TRACE_EVENT_NAME_MAX 30 #define _POSIX_TRACE_NAME_MAX 8 #define _POSIX_TRACE_SYS_MAX 8 #define _POSIX_TRACE_USER_EVENT_MAX 32 #define _POSIX_TTY_NAME_MAX 9 #define _POSIX_TZNAME_MAX 6 #define _POSIX2_BC_BASE_MAX 99 #define _POSIX2_BC_DIM_MAX 2048 #define _POSIX2_BC_SCALE_MAX 99 #define _POSIX2_BC_STRING_MAX 1000 #define _POSIX2_COLL_WEIGHTS_MAX 2 #define _POSIX2_EXPR_NEST_MAX 32 #define _POSIX2_LINE_MAX 2048 #define _POSIX2_RE_DUP_MAX 255 #define _XOPEN_IOV_MAX 16 #define _XOPEN_NAME_MAX 255 #define _XOPEN_PATH_MAX 1024 #define NL_ARGMAX 9 #define NL_LANGMAX 14 #define NL_MSGMAX 32767 #define NL_NMAX INT_MAX #define NL_SETMAX 255 #define NL_TEXTMAX _POSIX2_LINE_MAX #undef NZERO #define NZERO 20 # 170 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include-fixed/limits.h" 2 3 4 # 8 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include-fixed/syslimits.h" 2 3 4 #undef _GCC_NEXT_LIMITS_H # 35 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include-fixed/limits.h" 2 3 4 # 12 "./Include/Python.h" 2 # 25 "./Include/Python.h" # 1 "/usr/include/stdio.h" 1 3 4 # 27 "/usr/include/stdio.h" 3 4 #define _STDIO_H_ # 1 "/usr/include/_ansi.h" 1 3 4 # 13 "/usr/include/_ansi.h" 3 4 #define _ANSIDECL_H_ # 1 "/usr/include/newlib.h" 1 3 4 #define __NEWLIB_H__ 1 #define _NEWLIB_VERSION "1.20.0" #define _WANT_IO_C99_FORMATS 1 #define _WANT_IO_LONG_LONG 1 #define _WANT_IO_LONG_DOUBLE 1 #define _WANT_IO_POS_ARGS 1 #define _MB_CAPABLE 1 #define _MB_LEN_MAX 8 # 54 "/usr/include/newlib.h" 3 4 #define _ATEXIT_DYNAMIC_ALLOC 1 #define _HAVE_LONG_DOUBLE 1 # 16 "/usr/include/_ansi.h" 2 3 4 # 1 "/usr/include/sys/config.h" 1 3 4 #define __SYS_CONFIG_H__ # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 162 "/usr/include/machine/ieeefp.h" 3 4 #define __IEEE_LITTLE_ENDIAN # 5 "/usr/include/sys/config.h" 2 3 4 # 197 "/usr/include/sys/config.h" 3 4 #define _POINTER_INT long #undef __RAND_MAX #define __RAND_MAX 0x7fffffff # 1 "/usr/include/cygwin/config.h" 1 3 4 # 20 "/usr/include/cygwin/config.h" 3 4 #define _CYGWIN_CONFIG_H #define __DYNAMIC_REENT__ # 46 "/usr/include/cygwin/config.h" 3 4 #define __FILENAME_MAX__ 4096 #define _READ_WRITE_RETURN_TYPE _ssize_t #define __LARGE64_FILES 1 #define __USE_INTERNAL_STAT64 1 #define __LINUX_ERRNO_EXTENSIONS__ 1 #define _MB_EXTENDED_CHARSETS_ALL 1 #define __HAVE_LOCALE_INFO__ 1 #define __HAVE_LOCALE_INFO_EXTENDED__ 1 #define _WANT_C99_TIME_FORMATS 1 #define _GLIBC_EXTENSION 1 #define __EXPORT #define __IMPORT __declspec(dllimport) #define DEFAULT_LOCALE "C.UTF-8" # 212 "/usr/include/sys/config.h" 2 3 4 #define __USE_XOPEN2K 1 # 255 "/usr/include/sys/config.h" 3 4 #define _MB_EXTENDED_CHARSETS_ISO 1 #define _MB_EXTENDED_CHARSETS_WINDOWS 1 # 17 "/usr/include/_ansi.h" 2 3 4 #define _HAVE_STDC # 44 "/usr/include/_ansi.h" 3 4 #define _BEGIN_STD_C #define _END_STD_C #define _NOTHROW #define _PTR void * #define _AND , #define _NOARGS void #define _CONST const #define _VOLATILE volatile #define _SIGNED signed #define _DOTS , ... #define _VOID void #define _EXFUN_NOTHROW(name,proto) __cdecl name proto _NOTHROW #define _EXFUN(name,proto) __cdecl name proto #define _EXPARM(name,proto) (* __cdecl name) proto #define _EXFNPTR(name,proto) (__cdecl * name) proto #define _DEFUN(name,arglist,args) name(args) #define _DEFUN_VOID(name) name(_NOARGS) #define _CAST_VOID (void) #define _LONG_DOUBLE long double #define _LONG_LONG_TYPE long long #define _PARAMS(paramlist) paramlist # 105 "/usr/include/_ansi.h" 3 4 #define _ATTRIBUTE(attrs) __attribute__ (attrs) # 127 "/usr/include/_ansi.h" 3 4 #define _ELIDABLE_INLINE extern __inline__ _ATTRIBUTE ((__always_inline__)) #define _NOINLINE __attribute__ ((__noinline__)) #define _NOINLINE_STATIC _NOINLINE static # 30 "/usr/include/stdio.h" 2 3 4 #define _FSTDIO #define __need_size_t # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 186 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #define __size_t__ #define __SIZE_T__ #define _SIZE_T #define _SYS_SIZE_T_H #define _T_SIZE_ #define _T_SIZE #define __SIZE_T #define _SIZE_T_ #define _BSD_SIZE_T_ #define _SIZE_T_DEFINED_ #define _SIZE_T_DEFINED #define _BSD_SIZE_T_DEFINED_ #define _SIZE_T_DECLARED #define ___int_size_t_h #define _GCC_SIZE_T #define _SIZET_ #define __size_t typedef unsigned int size_t; # 233 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_size_t # 406 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_NULL # 35 "/usr/include/stdio.h" 2 3 4 #define __need___va_list # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stdarg.h" 1 3 4 # 34 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stdarg.h" 3 4 #undef __need___va_list #define __GNUC_VA_LIST typedef __builtin_va_list __gnuc_va_list; # 38 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/sys/reent.h" 1 3 4 # 11 "/usr/include/sys/reent.h" 3 4 #define _SYS_REENT_H_ # 1 "/usr/include/_ansi.h" 1 3 4 # 14 "/usr/include/sys/reent.h" 2 3 4 # 1 "/usr/include/sys/_types.h" 1 3 4 # 10 "/usr/include/sys/_types.h" 3 4 #define _SYS__TYPES_H # 1 "/usr/include/machine/_types.h" 1 3 4 #define _MACHINE__TYPES_H # 1 "/usr/include/machine/_default_types.h" 1 3 4 #define _MACHINE__DEFAULT_TYPES_H # 17 "/usr/include/machine/_default_types.h" 3 4 #define __EXP(x) __ ##x ##__ typedef signed char __int8_t ; typedef unsigned char __uint8_t ; #define ___int8_t_defined 1 typedef signed short __int16_t; typedef unsigned short __uint16_t; #define ___int16_t_defined 1 typedef __int16_t __int_least16_t; typedef __uint16_t __uint_least16_t; #define ___int_least16_t_defined 1 # 57 "/usr/include/machine/_default_types.h" 3 4 typedef signed int __int32_t; typedef unsigned int __uint32_t; #define ___int32_t_defined 1 # 75 "/usr/include/machine/_default_types.h" 3 4 typedef __int32_t __int_least32_t; typedef __uint32_t __uint_least32_t; #define ___int_least32_t_defined 1 # 98 "/usr/include/machine/_default_types.h" 3 4 typedef signed long long __int64_t; typedef unsigned long long __uint64_t; #define ___int64_t_defined 1 # 114 "/usr/include/machine/_default_types.h" 3 4 #undef __EXP # 8 "/usr/include/machine/_types.h" 2 3 4 # 13 "/usr/include/sys/_types.h" 2 3 4 # 1 "/usr/include/sys/lock.h" 1 3 4 # 12 "/usr/include/sys/lock.h" 3 4 #define _SYS_LOCK_H_ typedef void *_LOCK_T; #define _LOCK_RECURSIVE_T _LOCK_T #define _LOCK_T_RECURSIVE_INITIALIZER ((_LOCK_T)18) #define _LOCK_T_INITIALIZER ((_LOCK_T)19) #define __LOCK_INIT(CLASS,NAME) CLASS _LOCK_T NAME = _LOCK_T_INITIALIZER; #define __LOCK_INIT_RECURSIVE(CLASS,NAME) CLASS _LOCK_T NAME = _LOCK_T_RECURSIVE_INITIALIZER; #define __lock_init(__lock) __cygwin_lock_init(&__lock) #define __lock_init_recursive(__lock) __cygwin_lock_init_recursive(&__lock) #define __lock_close(__lock) __cygwin_lock_fini(&__lock) #define __lock_close_recursive(__lock) __cygwin_lock_fini(&__lock) #define __lock_acquire(__lock) __cygwin_lock_lock(&__lock) #define __lock_acquire_recursive(__lock) __cygwin_lock_lock(&__lock) #define __lock_try_acquire(lock) __cygwin_lock_trylock(&__lock) #define __lock_try_acquire_recursive(lock) __cygwin_lock_trylock(&__lock) #define __lock_release(__lock) __cygwin_lock_unlock(&__lock) #define __lock_release_recursive(__lock) __cygwin_lock_unlock(&__lock) void __cygwin_lock_init(_LOCK_T *); void __cygwin_lock_init_recursive(_LOCK_T *); void __cygwin_lock_fini(_LOCK_T *); void __cygwin_lock_lock(_LOCK_T *); int __cygwin_lock_trylock(_LOCK_T *); void __cygwin_lock_unlock(_LOCK_T *); # 14 "/usr/include/sys/_types.h" 2 3 4 typedef long _off_t; typedef short __dev_t; typedef unsigned short __uid_t; typedef unsigned short __gid_t; __extension__ typedef long long _off64_t; typedef long _fpos_t; typedef _off64_t _fpos64_t; typedef int _ssize_t; #define __need_wint_t # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 347 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #define _WINT_T typedef unsigned int wint_t; #undef __need_wint_t # 406 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_NULL # 64 "/usr/include/sys/_types.h" 2 3 4 typedef struct { int __count; union { wint_t __wch; unsigned char __wchb[4]; } __value; } _mbstate_t; typedef _LOCK_T _flock_t; typedef void *_iconv_t; # 15 "/usr/include/sys/reent.h" 2 3 4 #define _NULL 0 #define __Long long typedef unsigned long __ULong; # 37 "/usr/include/sys/reent.h" 3 4 struct _reent; struct _Bigint { struct _Bigint *_next; int _k, _maxwds, _sign, _wds; __ULong _x[1]; }; struct __tm { int __tm_sec; int __tm_min; int __tm_hour; int __tm_mday; int __tm_mon; int __tm_year; int __tm_wday; int __tm_yday; int __tm_isdst; }; #define _ATEXIT_SIZE 32 struct _on_exit_args { void * _fnargs[32]; void * _dso_handle[32]; __ULong _fntypes; __ULong _is_cxa; }; # 89 "/usr/include/sys/reent.h" 3 4 struct _atexit { struct _atexit *_next; int _ind; void (*_fns[32])(void); struct _on_exit_args _on_exit_args; }; # 105 "/usr/include/sys/reent.h" 3 4 struct __sbuf { unsigned char *_base; int _size; }; # 166 "/usr/include/sys/reent.h" 3 4 #define _REENT_SMALL_CHECK_INIT(ptr) struct __sFILE { unsigned char *_p; int _r; int _w; short _flags; short _file; struct __sbuf _bf; int _lbfsize; void * _cookie; _ssize_t (__attribute__((__cdecl__)) * _read) (struct _reent *, void *, char *, int) ; _ssize_t (__attribute__((__cdecl__)) * _write) (struct _reent *, void *, const char *, int) ; _fpos_t (__attribute__((__cdecl__)) * _seek) (struct _reent *, void *, _fpos_t, int); int (__attribute__((__cdecl__)) * _close) (struct _reent *, void *); struct __sbuf _ub; unsigned char *_up; int _ur; unsigned char _ubuf[3]; unsigned char _nbuf[1]; struct __sbuf _lb; int _blksize; int _offset; struct _reent *_data; _flock_t _lock; _mbstate_t _mbstate; int _flags2; }; # 226 "/usr/include/sys/reent.h" 3 4 struct __sFILE64 { unsigned char *_p; int _r; int _w; short _flags; short _file; struct __sbuf _bf; int _lbfsize; struct _reent *_data; void * _cookie; _ssize_t (__attribute__((__cdecl__)) * _read) (struct _reent *, void *, char *, int) ; _ssize_t (__attribute__((__cdecl__)) * _write) (struct _reent *, void *, const char *, int) ; _fpos_t (__attribute__((__cdecl__)) * _seek) (struct _reent *, void *, _fpos_t, int); int (__attribute__((__cdecl__)) * _close) (struct _reent *, void *); struct __sbuf _ub; unsigned char *_up; int _ur; unsigned char _ubuf[3]; unsigned char _nbuf[1]; struct __sbuf _lb; int _blksize; int _flags2; _off64_t _offset; _fpos64_t (__attribute__((__cdecl__)) * _seek64) (struct _reent *, void *, _fpos64_t, int); _flock_t _lock; _mbstate_t _mbstate; }; typedef struct __sFILE64 __FILE; struct _glue { struct _glue *_next; int _niobs; __FILE *_iobs; }; # 298 "/usr/include/sys/reent.h" 3 4 #define _RAND48_SEED_0 (0x330e) #define _RAND48_SEED_1 (0xabcd) #define _RAND48_SEED_2 (0x1234) #define _RAND48_MULT_0 (0xe66d) #define _RAND48_MULT_1 (0xdeec) #define _RAND48_MULT_2 (0x0005) #define _RAND48_ADD (0x000b) struct _rand48 { unsigned short _seed[3]; unsigned short _mult[3]; unsigned short _add; }; #define _REENT_EMERGENCY_SIZE 25 #define _REENT_ASCTIME_SIZE 26 #define _REENT_SIGNAL_SIZE 24 # 580 "/usr/include/sys/reent.h" 3 4 struct _reent { int _errno; __FILE *_stdin, *_stdout, *_stderr; int _inc; char _emergency[25]; int _current_category; const char *_current_locale; int __sdidinit; void (__attribute__((__cdecl__)) * __cleanup) (struct _reent *); struct _Bigint *_result; int _result_k; struct _Bigint *_p5s; struct _Bigint **_freelist; int _cvtlen; char *_cvtbuf; union { struct { unsigned int _unused_rand; char * _strtok_last; char _asctime_buf[26]; struct __tm _localtime_buf; int _gamma_signgam; __extension__ unsigned long long _rand_next; struct _rand48 _r48; _mbstate_t _mblen_state; _mbstate_t _mbtowc_state; _mbstate_t _wctomb_state; char _l64a_buf[8]; char _signal_buf[24]; int _getdate_err; _mbstate_t _mbrlen_state; _mbstate_t _mbrtowc_state; _mbstate_t _mbsrtowcs_state; _mbstate_t _wcrtomb_state; _mbstate_t _wcsrtombs_state; int _h_errno; } _reent; struct { #define _N_LISTS 30 unsigned char * _nextf[30]; unsigned int _nmalloc[30]; } _unused; } _new; struct _atexit *_atexit; struct _atexit _atexit0; void (**(_sig_func))(int); struct _glue __sglue; __FILE __sf[3]; }; #define _REENT_INIT(var) { 0, &(var).__sf[0], &(var).__sf[1], &(var).__sf[2], 0, "", 0, "C", 0, _NULL, _NULL, 0, _NULL, _NULL, 0, _NULL, { { 0, _NULL, "", {0, 0, 0, 0, 0, 0, 0, 0, 0}, 0, 1, { {_RAND48_SEED_0, _RAND48_SEED_1, _RAND48_SEED_2}, {_RAND48_MULT_0, _RAND48_MULT_1, _RAND48_MULT_2}, _RAND48_ADD }, {0, {0}}, {0, {0}}, {0, {0}}, "", "", 0, {0, {0}}, {0, {0}}, {0, {0}}, {0, {0}}, {0, {0}} } }, _NULL, {_NULL, 0, {_NULL}, {{_NULL}, {_NULL}, 0, 0}}, _NULL, {_NULL, 0, _NULL} } # 707 "/usr/include/sys/reent.h" 3 4 #define _REENT_INIT_PTR(var) { (var)->_errno = 0; (var)->_stdin = &(var)->__sf[0]; (var)->_stdout = &(var)->__sf[1]; (var)->_stderr = &(var)->__sf[2]; (var)->_inc = 0; memset(&(var)->_emergency, 0, sizeof((var)->_emergency)); (var)->_current_category = 0; (var)->_current_locale = "C"; (var)->__sdidinit = 0; (var)->__cleanup = _NULL; (var)->_result = _NULL; (var)->_result_k = 0; (var)->_p5s = _NULL; (var)->_freelist = _NULL; (var)->_cvtlen = 0; (var)->_cvtbuf = _NULL; (var)->_new._reent._unused_rand = 0; (var)->_new._reent._strtok_last = _NULL; (var)->_new._reent._asctime_buf[0] = 0; memset(&(var)->_new._reent._localtime_buf, 0, sizeof((var)->_new._reent._localtime_buf)); (var)->_new._reent._gamma_signgam = 0; (var)->_new._reent._rand_next = 1; (var)->_new._reent._r48._seed[0] = _RAND48_SEED_0; (var)->_new._reent._r48._seed[1] = _RAND48_SEED_1; (var)->_new._reent._r48._seed[2] = _RAND48_SEED_2; (var)->_new._reent._r48._mult[0] = _RAND48_MULT_0; (var)->_new._reent._r48._mult[1] = _RAND48_MULT_1; (var)->_new._reent._r48._mult[2] = _RAND48_MULT_2; (var)->_new._reent._r48._add = _RAND48_ADD; (var)->_new._reent._mblen_state.__count = 0; (var)->_new._reent._mblen_state.__value.__wch = 0; (var)->_new._reent._mbtowc_state.__count = 0; (var)->_new._reent._mbtowc_state.__value.__wch = 0; (var)->_new._reent._wctomb_state.__count = 0; (var)->_new._reent._wctomb_state.__value.__wch = 0; (var)->_new._reent._mbrlen_state.__count = 0; (var)->_new._reent._mbrlen_state.__value.__wch = 0; (var)->_new._reent._mbrtowc_state.__count = 0; (var)->_new._reent._mbrtowc_state.__value.__wch = 0; (var)->_new._reent._mbsrtowcs_state.__count = 0; (var)->_new._reent._mbsrtowcs_state.__value.__wch = 0; (var)->_new._reent._wcrtomb_state.__count = 0; (var)->_new._reent._wcrtomb_state.__value.__wch = 0; (var)->_new._reent._wcsrtombs_state.__count = 0; (var)->_new._reent._wcsrtombs_state.__value.__wch = 0; (var)->_new._reent._l64a_buf[0] = '\0'; (var)->_new._reent._signal_buf[0] = '\0'; (var)->_new._reent._getdate_err = 0; (var)->_atexit = _NULL; (var)->_atexit0._next = _NULL; (var)->_atexit0._ind = 0; (var)->_atexit0._fns[0] = _NULL; (var)->_atexit0._on_exit_args._fntypes = 0; (var)->_atexit0._on_exit_args._fnargs[0] = _NULL; (var)->_sig_func = _NULL; (var)->__sglue._next = _NULL; (var)->__sglue._niobs = 0; (var)->__sglue._iobs = _NULL; memset(&(var)->__sf, 0, sizeof((var)->__sf)); } # 769 "/usr/include/sys/reent.h" 3 4 #define _REENT_CHECK_RAND48(ptr) #define _REENT_CHECK_MP(ptr) #define _REENT_CHECK_TM(ptr) #define _REENT_CHECK_ASCTIME_BUF(ptr) #define _REENT_CHECK_EMERGENCY(ptr) #define _REENT_CHECK_MISC(ptr) #define _REENT_CHECK_SIGNAL_BUF(ptr) #define _REENT_SIGNGAM(ptr) ((ptr)->_new._reent._gamma_signgam) #define _REENT_RAND_NEXT(ptr) ((ptr)->_new._reent._rand_next) #define _REENT_RAND48_SEED(ptr) ((ptr)->_new._reent._r48._seed) #define _REENT_RAND48_MULT(ptr) ((ptr)->_new._reent._r48._mult) #define _REENT_RAND48_ADD(ptr) ((ptr)->_new._reent._r48._add) #define _REENT_MP_RESULT(ptr) ((ptr)->_result) #define _REENT_MP_RESULT_K(ptr) ((ptr)->_result_k) #define _REENT_MP_P5S(ptr) ((ptr)->_p5s) #define _REENT_MP_FREELIST(ptr) ((ptr)->_freelist) #define _REENT_ASCTIME_BUF(ptr) ((ptr)->_new._reent._asctime_buf) #define _REENT_TM(ptr) (&(ptr)->_new._reent._localtime_buf) #define _REENT_EMERGENCY(ptr) ((ptr)->_emergency) #define _REENT_STRTOK_LAST(ptr) ((ptr)->_new._reent._strtok_last) #define _REENT_MBLEN_STATE(ptr) ((ptr)->_new._reent._mblen_state) #define _REENT_MBTOWC_STATE(ptr) ((ptr)->_new._reent._mbtowc_state) #define _REENT_WCTOMB_STATE(ptr) ((ptr)->_new._reent._wctomb_state) #define _REENT_MBRLEN_STATE(ptr) ((ptr)->_new._reent._mbrlen_state) #define _REENT_MBRTOWC_STATE(ptr) ((ptr)->_new._reent._mbrtowc_state) #define _REENT_MBSRTOWCS_STATE(ptr) ((ptr)->_new._reent._mbsrtowcs_state) #define _REENT_WCRTOMB_STATE(ptr) ((ptr)->_new._reent._wcrtomb_state) #define _REENT_WCSRTOMBS_STATE(ptr) ((ptr)->_new._reent._wcsrtombs_state) #define _REENT_L64A_BUF(ptr) ((ptr)->_new._reent._l64a_buf) #define _REENT_SIGNAL_BUF(ptr) ((ptr)->_new._reent._signal_buf) #define _REENT_GETDATE_ERR_P(ptr) (&((ptr)->_new._reent._getdate_err)) #define _Kmax (sizeof (size_t) << 3) #define __ATTRIBUTE_IMPURE_PTR__ extern struct _reent *_impure_ptr ; extern struct _reent *const _global_impure_ptr ; void _reclaim_reent (struct _reent *); struct _reent * __attribute__((__cdecl__)) __getreent (void); #define _REENT (__getreent()) #define _GLOBAL_REENT _global_impure_ptr # 46 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/sys/types.h" 1 3 4 # 23 "/usr/include/sys/types.h" 3 4 #define __INTTYPES_DEFINED__ # 60 "/usr/include/sys/types.h" 3 4 #define _SYS_TYPES_H # 69 "/usr/include/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 40 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #define _STDDEF_H #define _STDDEF_H_ #define _ANSI_STDDEF_H #define __STDDEF_H__ # 138 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #define _PTRDIFF_T #define _T_PTRDIFF_ #define _T_PTRDIFF #define __PTRDIFF_T #define _PTRDIFF_T_ #define _BSD_PTRDIFF_T_ #define ___int_ptrdiff_t_h #define _GCC_PTRDIFF_T typedef int ptrdiff_t; # 160 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 233 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_size_t # 262 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #define __wchar_t__ #define __WCHAR_T__ #define _WCHAR_T #define _T_WCHAR_ #define _T_WCHAR #define __WCHAR_T #define _WCHAR_T_ #define _BSD_WCHAR_T_ #define _WCHAR_T_DEFINED_ #define _WCHAR_T_DEFINED #define _WCHAR_T_H #define ___int_wchar_t_h #define __INT_WCHAR_T_H #define _GCC_WCHAR_T #define _WCHAR_T_DECLARED # 289 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef _BSD_WCHAR_T_ # 323 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 342 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_wchar_t # 395 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 70 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/machine/types.h" 1 3 4 #define _MACHTYPES_H_ # 13 "/usr/include/machine/types.h" 3 4 #define _CLOCK_T_ unsigned long #define _TIME_T_ long #define _CLOCKID_T_ unsigned long #define _TIMER_T_ unsigned long typedef long int __off_t; typedef int __pid_t; __extension__ typedef long long int __loff_t; # 71 "/usr/include/sys/types.h" 2 3 4 # 80 "/usr/include/sys/types.h" 3 4 #define _ST_INT32 __attribute__ ((__mode__ (__SI__))) #define physadr physadr_t #define quad quad_t typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; #define _BSDTYPES_DEFINED typedef unsigned short ushort; typedef unsigned int uint; typedef unsigned long ulong; typedef unsigned long clock_t; #define __clock_t_defined typedef long time_t; #define __time_t_defined #define __timespec_defined struct timespec { time_t tv_sec; long tv_nsec; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; typedef long daddr_t; typedef char * caddr_t; # 175 "/usr/include/sys/types.h" 3 4 typedef int pid_t; # 185 "/usr/include/sys/types.h" 3 4 typedef _ssize_t ssize_t; # 204 "/usr/include/sys/types.h" 3 4 typedef unsigned short nlink_t; # 214 "/usr/include/sys/types.h" 3 4 #define _SYS_TYPES_FD_SET #define NBBY 8 #define FD_SETSIZE 64 typedef long fd_mask; #define NFDBITS (sizeof (fd_mask) * NBBY) #define howmany(x,y) (((x)+((y)-1))/(y)) typedef struct _types_fd_set { fd_mask fds_bits[(((64)+(((sizeof (fd_mask) * 8))-1))/((sizeof (fd_mask) * 8)))]; } _types_fd_set; #define fd_set _types_fd_set #define FD_SET(n,p) ((p)->fds_bits[(n)/NFDBITS] |= (1L << ((n) % NFDBITS))) #define FD_CLR(n,p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1L << ((n) % NFDBITS))) #define FD_ISSET(n,p) ((p)->fds_bits[(n)/NFDBITS] & (1L << ((n) % NFDBITS))) #define FD_ZERO(p) (__extension__ (void)({ size_t __i; char *__tmp = (char *)p; for (__i = 0; __i < sizeof (*(p)); ++__i) *__tmp++ = 0; })) # 252 "/usr/include/sys/types.h" 3 4 #undef __MS_types__ #undef _ST_INT32 typedef unsigned long clockid_t; #define __clockid_t_defined typedef unsigned long timer_t; #define __timer_t_defined typedef unsigned long useconds_t; typedef long suseconds_t; # 455 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/cygwin/types.h" 1 3 4 # 13 "/usr/include/cygwin/types.h" 3 4 #define _CYGWIN_TYPES_H # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stdint.h" 1 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 12 "/usr/include/stdint.h" 3 4 #define _STDINT_H #define __int8_t_defined typedef signed char int8_t; typedef short int16_t; typedef int int32_t; typedef long long int64_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; #define __uint32_t_defined typedef unsigned int uint32_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef short int_least16_t; typedef int int_least32_t; typedef long long int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long long uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; typedef long long int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; typedef unsigned long long uint_fast64_t; #define __intptr_t_defined typedef int intptr_t; typedef unsigned int uintptr_t; # 106 "/usr/include/stdint.h" 3 4 typedef long long intmax_t; typedef unsigned long long uintmax_t; # 119 "/usr/include/stdint.h" 3 4 #define __I64(n) n ## LL #define __U64(n) n ## ULL #define INT8_MIN (-128) #define INT16_MIN (-32768) #define INT32_MIN (-2147483647 - 1) #define INT64_MIN (-__I64(9223372036854775807) - 1) #define INT8_MAX (127) #define INT16_MAX (32767) #define INT32_MAX (2147483647) #define INT64_MAX (__I64(9223372036854775807)) #define UINT8_MAX (255) #define UINT16_MAX (65535) #define UINT32_MAX (4294967295U) #define UINT64_MAX (__U64(18446744073709551615)) #define INT_LEAST8_MIN (-128) #define INT_LEAST16_MIN (-32768) #define INT_LEAST32_MIN (-2147483647 - 1) #define INT_LEAST64_MIN (-__I64(9223372036854775807) - 1) #define INT_LEAST8_MAX (127) #define INT_LEAST16_MAX (32767) #define INT_LEAST32_MAX (2147483647) #define INT_LEAST64_MAX (__I64(9223372036854775807)) #define UINT_LEAST8_MAX (255) #define UINT_LEAST16_MAX (65535) #define UINT_LEAST32_MAX (4294967295U) #define UINT_LEAST64_MAX (__U64(18446744073709551615)) #define INT_FAST8_MIN (-128) #define INT_FAST16_MIN (-2147483647 - 1) #define INT_FAST32_MIN (-2147483647 - 1) #define INT_FAST64_MIN (-__I64(9223372036854775807) - 1) #define INT_FAST8_MAX (127) #define INT_FAST16_MAX (2147483647) #define INT_FAST32_MAX (2147483647) #define INT_FAST64_MAX (__I64(9223372036854775807)) #define UINT_FAST8_MAX (255) #define UINT_FAST16_MAX (4294967295U) #define UINT_FAST32_MAX (4294967295U) #define UINT_FAST64_MAX (__U64(18446744073709551615)) # 196 "/usr/include/stdint.h" 3 4 #define INTPTR_MIN (-2147483647 - 1) #define INTPTR_MAX (2147483647) #define UINTPTR_MAX (4294967295U) #define INTMAX_MIN (-__I64(9223372036854775807) - 1) #define INTMAX_MAX (__I64(9223372036854775807)) #define UINTMAX_MAX (__U64(18446744073709551615)) # 214 "/usr/include/stdint.h" 3 4 #define PTRDIFF_MIN (-2147483647 - 1) #define PTRDIFF_MAX (2147483647) #define SIG_ATOMIC_MIN (-2147483647 - 1) #define SIG_ATOMIC_MAX (2147483647) #define SIZE_MAX (4294967295U) #define WCHAR_MIN __WCHAR_MIN__ #define WCHAR_MAX __WCHAR_MAX__ #define WINT_MIN 0U #define WINT_MAX (4294967295U) # 258 "/usr/include/stdint.h" 3 4 #define INT8_C(x) x #define INT16_C(x) x #define INT32_C(x) x #define INT64_C(x) x ## LL #define UINT8_C(x) x #define UINT16_C(x) x #define UINT32_C(x) x ## U #define UINT64_C(x) x ## ULL # 282 "/usr/include/stdint.h" 3 4 #define INTMAX_C(x) x ## LL #define UINTMAX_C(x) x ## ULL # 4 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stdint.h" 2 3 4 #define _GCC_WRAP_STDINT_H # 21 "/usr/include/cygwin/types.h" 2 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 12 "/usr/include/endian.h" 3 4 #define _ENDIAN_H_ # 1 "/usr/include/bits/endian.h" 1 3 4 # 12 "/usr/include/bits/endian.h" 3 4 #define _BITS_ENDIAN_H_ #define __BIG_ENDIAN 4321 #define __LITTLE_ENDIAN 1234 #define __BYTE_ORDER __LITTLE_ENDIAN # 16 "/usr/include/endian.h" 2 3 4 #define LITTLE_ENDIAN __LITTLE_ENDIAN #define BIG_ENDIAN __BIG_ENDIAN #define PDP_ENDIAN __PDP_ENDIAN #define BYTE_ORDER __BYTE_ORDER #define __LONG_LONG_PAIR(HI,LO) LO, HI # 1 "/usr/include/byteswap.h" 1 3 4 # 12 "/usr/include/byteswap.h" 3 4 #define _BYTESWAP_H static __inline unsigned short bswap_16 (unsigned short __x) { return (__x >> 8) | (__x << 8); } static __inline unsigned int bswap_32 (unsigned int __x) { return (bswap_16 (__x & 0xffff) << 16) | (bswap_16 (__x >> 16)); } static __inline unsigned long long bswap_64 (unsigned long long __x) { return (((unsigned long long) bswap_32 (__x & 0xffffffffull)) << 32) | (bswap_32 (__x >> 32)); } # 33 "/usr/include/endian.h" 2 3 4 #define htobe16(x) bswap_16(x) #define htobe32(x) bswap_32(x) #define htobe64(x) bswap_64(x) #define be16toh(x) bswap_16(x) #define be32toh(x) bswap_32(x) #define be64toh(x) bswap_64(x) #define htole16(x) (x) #define htole32(x) (x) #define htole64(x) (x) #define le16toh(x) (x) #define le32toh(x) (x) #define le64toh(x) (x) # 22 "/usr/include/cygwin/types.h" 2 3 4 #define __timespec_t_defined typedef struct timespec timespec_t; #define __timestruc_t_defined typedef struct timespec timestruc_t; #define __off_t_defined typedef _off64_t off_t; typedef __loff_t loff_t; #define __dev_t_defined typedef short __dev16_t; typedef unsigned long __dev32_t; typedef __dev32_t dev_t; #define __blksize_t_defined typedef long blksize_t; #define __blkcnt_t_defined typedef long __blkcnt32_t; typedef long long __blkcnt64_t; typedef __blkcnt64_t blkcnt_t; #define __fsblkcnt_t_defined typedef unsigned long fsblkcnt_t; #define __fsfilcnt_t_defined typedef unsigned long fsfilcnt_t; #define __uid_t_defined typedef unsigned short __uid16_t; typedef unsigned long __uid32_t; typedef __uid32_t uid_t; #define __gid_t_defined typedef unsigned short __gid16_t; typedef unsigned long __gid32_t; typedef __gid32_t gid_t; #define __ino_t_defined typedef unsigned long __ino32_t; typedef unsigned long long __ino64_t; typedef __ino64_t ino_t; #define __id_t_defined typedef unsigned long id_t; # 115 "/usr/include/cygwin/types.h" 3 4 struct flock { short l_type; short l_whence; off_t l_start; off_t l_len; pid_t l_pid; }; #define __key_t_defined typedef long long key_t; #define __BIT_TYPES_DEFINED__ 1 #define __vm_offset_t_defined typedef unsigned long vm_offset_t; #define __vm_size_t_defined typedef unsigned long vm_size_t; #define __vm_object_t_defined typedef void *vm_object_t; #define __u_int8_t_defined typedef unsigned char u_int8_t; #define __u_int16_t_defined typedef __uint16_t u_int16_t; #define __u_int32_t_defined typedef __uint32_t u_int32_t; #define __u_int64_t_defined typedef __uint64_t u_int64_t; #define __register_t_defined typedef __int32_t register_t; #define __addr_t_defined typedef char *addr_t; #define __mode_t_defined typedef unsigned mode_t; typedef struct __pthread_t {char __dummy;} *pthread_t; typedef struct __pthread_mutex_t {char __dummy;} *pthread_mutex_t; typedef struct __pthread_key_t {char __dummy;} *pthread_key_t; typedef struct __pthread_attr_t {char __dummy;} *pthread_attr_t; typedef struct __pthread_mutexattr_t {char __dummy;} *pthread_mutexattr_t; typedef struct __pthread_condattr_t {char __dummy;} *pthread_condattr_t; typedef struct __pthread_cond_t {char __dummy;} *pthread_cond_t; typedef struct { pthread_mutex_t mutex; int state; } pthread_once_t; typedef struct __pthread_spinlock_t {char __dummy;} *pthread_spinlock_t; typedef struct __pthread_rwlock_t {char __dummy;} *pthread_rwlock_t; typedef struct __pthread_rwlockattr_t {char __dummy;} *pthread_rwlockattr_t; # 222 "/usr/include/cygwin/types.h" 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 12 "/usr/include/sys/sysmacros.h" 3 4 #define _SYS_SYSMACROS_H # 1 "/usr/include/sys/types.h" 1 3 4 # 15 "/usr/include/sys/sysmacros.h" 2 3 4 extern __inline__ __attribute__ ((__always_inline__)) int gnu_dev_major(dev_t); extern __inline__ __attribute__ ((__always_inline__)) int gnu_dev_minor(dev_t); extern __inline__ __attribute__ ((__always_inline__)) dev_t gnu_dev_makedev(int, int); extern __inline__ __attribute__ ((__always_inline__)) int gnu_dev_major(dev_t dev) { return (int)(((dev) >> 16) & 0xffff); } extern __inline__ __attribute__ ((__always_inline__)) int gnu_dev_minor(dev_t dev) { return (int)((dev) & 0xffff); } extern __inline__ __attribute__ ((__always_inline__)) dev_t gnu_dev_makedev(int maj, int min) { return (((maj) << 16) | ((min) & 0xffff)); } #define major(dev) gnu_dev_major(dev) #define minor(dev) gnu_dev_minor(dev) #define makedev(maj,min) gnu_dev_makedev(maj, min) # 223 "/usr/include/cygwin/types.h" 2 3 4 # 456 "/usr/include/sys/types.h" 2 3 4 # 493 "/usr/include/sys/types.h" 3 4 #undef __need_inttypes # 47 "/usr/include/stdio.h" 2 3 4 typedef __FILE FILE; typedef _fpos64_t fpos_t; # 1 "/usr/include/sys/stdio.h" 1 3 4 # 12 "/usr/include/sys/stdio.h" 3 4 #define _SYS_STDIO_H_ # 22 "/usr/include/sys/stdio.h" 3 4 #define _flockfile(fp) ({ if (!((fp)->_flags & __SSTR)) __cygwin_lock_lock ((_LOCK_T *)&(fp)->_lock); }) #define _ftrylockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __cygwin_lock_trylock ((_LOCK_T *)&(fp)->_lock)) #define _funlockfile(fp) ({ if (!((fp)->_flags & __SSTR)) __cygwin_lock_unlock ((_LOCK_T *)&(fp)->_lock); }) ssize_t __attribute__((__cdecl__)) getline (char **, size_t *, FILE *); ssize_t __attribute__((__cdecl__)) getdelim (char **, size_t *, int, FILE *); # 62 "/usr/include/stdio.h" 2 3 4 #define __SLBF 0x0001 #define __SNBF 0x0002 #define __SRD 0x0004 #define __SWR 0x0008 #define __SRW 0x0010 #define __SEOF 0x0020 #define __SERR 0x0040 #define __SMBF 0x0080 #define __SAPP 0x0100 #define __SSTR 0x0200 #define __SOPT 0x0400 #define __SNPT 0x0800 #define __SOFF 0x1000 #define __SORD 0x2000 #define __SCLE 0x4000 #define __SL64 0x8000 #define __SWID 0x2000 # 95 "/usr/include/stdio.h" 3 4 #define _IOFBF 0 #define _IOLBF 1 #define _IONBF 2 #define EOF (-1) #define BUFSIZ 1024 #define FOPEN_MAX 20 #define FILENAME_MAX __FILENAME_MAX__ #define L_tmpnam FILENAME_MAX #define P_tmpdir "/tmp" #define SEEK_SET 0 #define SEEK_CUR 1 #define SEEK_END 2 #define TMP_MAX 26 #define stdin (_REENT->_stdin) #define stdout (_REENT->_stdout) #define stderr (_REENT->_stderr) #define _stdin_r(x) ((x)->_stdin) #define _stdout_r(x) ((x)->_stdout) #define _stderr_r(x) ((x)->_stderr) #define __VALIST __gnuc_va_list FILE * __attribute__((__cdecl__)) tmpfile (void); char * __attribute__((__cdecl__)) tmpnam (char *); int __attribute__((__cdecl__)) fclose (FILE *); int __attribute__((__cdecl__)) fflush (FILE *); FILE * __attribute__((__cdecl__)) freopen (const char *, const char *, FILE *); void __attribute__((__cdecl__)) setbuf (FILE *, char *); int __attribute__((__cdecl__)) setvbuf (FILE *, char *, int, size_t); int __attribute__((__cdecl__)) fprintf (FILE *, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; int __attribute__((__cdecl__)) fscanf (FILE *, const char *, ...) __attribute__ ((__format__ (__scanf__, 2, 3))) ; int __attribute__((__cdecl__)) printf (const char *, ...) __attribute__ ((__format__ (__printf__, 1, 2))) ; int __attribute__((__cdecl__)) scanf (const char *, ...) __attribute__ ((__format__ (__scanf__, 1, 2))) ; int __attribute__((__cdecl__)) sscanf (const char *, const char *, ...) __attribute__ ((__format__ (__scanf__, 2, 3))) ; int __attribute__((__cdecl__)) vfprintf (FILE *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; int __attribute__((__cdecl__)) vprintf (const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 1, 0))) ; int __attribute__((__cdecl__)) vsprintf (char *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; int __attribute__((__cdecl__)) fgetc (FILE *); char * __attribute__((__cdecl__)) fgets (char *, int, FILE *); int __attribute__((__cdecl__)) fputc (int, FILE *); int __attribute__((__cdecl__)) fputs (const char *, FILE *); int __attribute__((__cdecl__)) getc (FILE *); int __attribute__((__cdecl__)) getchar (void); char * __attribute__((__cdecl__)) gets (char *); int __attribute__((__cdecl__)) putc (int, FILE *); int __attribute__((__cdecl__)) putchar (int); int __attribute__((__cdecl__)) puts (const char *); int __attribute__((__cdecl__)) ungetc (int, FILE *); size_t __attribute__((__cdecl__)) fread (void *, size_t _size, size_t _n, FILE *); size_t __attribute__((__cdecl__)) fwrite (const void * , size_t _size, size_t _n, FILE *); int __attribute__((__cdecl__)) fgetpos (FILE *, fpos_t *); int __attribute__((__cdecl__)) fseek (FILE *, long, int); int __attribute__((__cdecl__)) fsetpos (FILE *, const fpos_t *); long __attribute__((__cdecl__)) ftell ( FILE *); void __attribute__((__cdecl__)) rewind (FILE *); void __attribute__((__cdecl__)) clearerr (FILE *); int __attribute__((__cdecl__)) feof (FILE *); int __attribute__((__cdecl__)) ferror (FILE *); void __attribute__((__cdecl__)) perror (const char *); FILE * __attribute__((__cdecl__)) fopen (const char *_name, const char *_type); int __attribute__((__cdecl__)) sprintf (char *, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; int __attribute__((__cdecl__)) remove (const char *); int __attribute__((__cdecl__)) rename (const char *, const char *); # 239 "/usr/include/stdio.h" 3 4 int __attribute__((__cdecl__)) fseeko (FILE *, off_t, int); off_t __attribute__((__cdecl__)) ftello ( FILE *); int __attribute__((__cdecl__)) asiprintf (char **, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; char * __attribute__((__cdecl__)) asniprintf (char *, size_t *, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; char * __attribute__((__cdecl__)) asnprintf (char *, size_t *, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; int __attribute__((__cdecl__)) asprintf (char **, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; int __attribute__((__cdecl__)) diprintf (int, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; int __attribute__((__cdecl__)) fcloseall (void); int __attribute__((__cdecl__)) fiprintf (FILE *, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; int __attribute__((__cdecl__)) fiscanf (FILE *, const char *, ...) __attribute__ ((__format__ (__scanf__, 2, 3))) ; int __attribute__((__cdecl__)) iprintf (const char *, ...) __attribute__ ((__format__ (__printf__, 1, 2))) ; int __attribute__((__cdecl__)) iscanf (const char *, ...) __attribute__ ((__format__ (__scanf__, 1, 2))) ; int __attribute__((__cdecl__)) siprintf (char *, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; int __attribute__((__cdecl__)) siscanf (const char *, const char *, ...) __attribute__ ((__format__ (__scanf__, 2, 3))) ; int __attribute__((__cdecl__)) snprintf (char *, size_t, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; int __attribute__((__cdecl__)) sniprintf (char *, size_t, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; char * __attribute__((__cdecl__)) tempnam (const char *, const char *); int __attribute__((__cdecl__)) vasiprintf (char **, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; char * __attribute__((__cdecl__)) vasniprintf (char *, size_t *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; char * __attribute__((__cdecl__)) vasnprintf (char *, size_t *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) vasprintf (char **, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; int __attribute__((__cdecl__)) vdiprintf (int, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; int __attribute__((__cdecl__)) vfiprintf (FILE *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; int __attribute__((__cdecl__)) vfiscanf (FILE *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 2, 0))) ; int __attribute__((__cdecl__)) vfscanf (FILE *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 2, 0))) ; int __attribute__((__cdecl__)) viprintf (const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 1, 0))) ; int __attribute__((__cdecl__)) viscanf (const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 1, 0))) ; int __attribute__((__cdecl__)) vscanf (const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 1, 0))) ; int __attribute__((__cdecl__)) vsiprintf (char *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; int __attribute__((__cdecl__)) vsiscanf (const char *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 2, 0))) ; int __attribute__((__cdecl__)) vsniprintf (char *, size_t, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) vsnprintf (char *, size_t, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) vsscanf (const char *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 2, 0))) ; # 316 "/usr/include/stdio.h" 3 4 FILE * __attribute__((__cdecl__)) fdopen (int, const char *); int __attribute__((__cdecl__)) fileno (FILE *); int __attribute__((__cdecl__)) getw (FILE *); int __attribute__((__cdecl__)) pclose (FILE *); FILE * __attribute__((__cdecl__)) popen (const char *, const char *); int __attribute__((__cdecl__)) putw (int, FILE *); void __attribute__((__cdecl__)) setbuffer (FILE *, char *, int); int __attribute__((__cdecl__)) setlinebuf (FILE *); int __attribute__((__cdecl__)) getc_unlocked (FILE *); int __attribute__((__cdecl__)) getchar_unlocked (void); void __attribute__((__cdecl__)) flockfile (FILE *); int __attribute__((__cdecl__)) ftrylockfile (FILE *); void __attribute__((__cdecl__)) funlockfile (FILE *); int __attribute__((__cdecl__)) putc_unlocked (int, FILE *); int __attribute__((__cdecl__)) putchar_unlocked (int); # 341 "/usr/include/stdio.h" 3 4 int __attribute__((__cdecl__)) dprintf (int, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; FILE * __attribute__((__cdecl__)) fmemopen (void *, size_t, const char *); FILE * __attribute__((__cdecl__)) open_memstream (char **, size_t *); int __attribute__((__cdecl__)) renameat (int, const char *, int, const char *); int __attribute__((__cdecl__)) vdprintf (int, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; int __attribute__((__cdecl__)) _asiprintf_r (struct _reent *, char **, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; char * __attribute__((__cdecl__)) _asniprintf_r (struct _reent *, char *, size_t *, const char *, ...) __attribute__ ((__format__ (__printf__, 4, 5))) ; char * __attribute__((__cdecl__)) _asnprintf_r (struct _reent *, char *, size_t *, const char *, ...) __attribute__ ((__format__ (__printf__, 4, 5))) ; int __attribute__((__cdecl__)) _asprintf_r (struct _reent *, char **, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; int __attribute__((__cdecl__)) _diprintf_r (struct _reent *, int, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; int __attribute__((__cdecl__)) _dprintf_r (struct _reent *, int, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; int __attribute__((__cdecl__)) _fclose_r (struct _reent *, FILE *); int __attribute__((__cdecl__)) _fcloseall_r (struct _reent *); FILE * __attribute__((__cdecl__)) _fdopen_r (struct _reent *, int, const char *); int __attribute__((__cdecl__)) _fflush_r (struct _reent *, FILE *); int __attribute__((__cdecl__)) _fgetc_r (struct _reent *, FILE *); char * __attribute__((__cdecl__)) _fgets_r (struct _reent *, char *, int, FILE *); int __attribute__((__cdecl__)) _fgetpos_r (struct _reent *, FILE *, fpos_t *); int __attribute__((__cdecl__)) _fsetpos_r (struct _reent *, FILE *, const fpos_t *); int __attribute__((__cdecl__)) _fiprintf_r (struct _reent *, FILE *, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; int __attribute__((__cdecl__)) _fiscanf_r (struct _reent *, FILE *, const char *, ...) __attribute__ ((__format__ (__scanf__, 3, 4))) ; FILE * __attribute__((__cdecl__)) _fmemopen_r (struct _reent *, void *, size_t, const char *); FILE * __attribute__((__cdecl__)) _fopen_r (struct _reent *, const char *, const char *); FILE * __attribute__((__cdecl__)) _freopen_r (struct _reent *, const char *, const char *, FILE *); int __attribute__((__cdecl__)) _fprintf_r (struct _reent *, FILE *, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; int __attribute__((__cdecl__)) _fpurge_r (struct _reent *, FILE *); int __attribute__((__cdecl__)) _fputc_r (struct _reent *, int, FILE *); int __attribute__((__cdecl__)) _fputs_r (struct _reent *, const char *, FILE *); size_t __attribute__((__cdecl__)) _fread_r (struct _reent *, void *, size_t _size, size_t _n, FILE *); int __attribute__((__cdecl__)) _fscanf_r (struct _reent *, FILE *, const char *, ...) __attribute__ ((__format__ (__scanf__, 3, 4))) ; int __attribute__((__cdecl__)) _fseek_r (struct _reent *, FILE *, long, int); int __attribute__((__cdecl__)) _fseeko_r (struct _reent *, FILE *, _off_t, int); long __attribute__((__cdecl__)) _ftell_r (struct _reent *, FILE *); _off_t __attribute__((__cdecl__)) _ftello_r (struct _reent *, FILE *); void __attribute__((__cdecl__)) _rewind_r (struct _reent *, FILE *); size_t __attribute__((__cdecl__)) _fwrite_r (struct _reent *, const void * , size_t _size, size_t _n, FILE *); int __attribute__((__cdecl__)) _getc_r (struct _reent *, FILE *); int __attribute__((__cdecl__)) _getc_unlocked_r (struct _reent *, FILE *); int __attribute__((__cdecl__)) _getchar_r (struct _reent *); int __attribute__((__cdecl__)) _getchar_unlocked_r (struct _reent *); char * __attribute__((__cdecl__)) _gets_r (struct _reent *, char *); int __attribute__((__cdecl__)) _iprintf_r (struct _reent *, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; int __attribute__((__cdecl__)) _iscanf_r (struct _reent *, const char *, ...) __attribute__ ((__format__ (__scanf__, 2, 3))) ; FILE * __attribute__((__cdecl__)) _open_memstream_r (struct _reent *, char **, size_t *); void __attribute__((__cdecl__)) _perror_r (struct _reent *, const char *); int __attribute__((__cdecl__)) _printf_r (struct _reent *, const char *, ...) __attribute__ ((__format__ (__printf__, 2, 3))) ; int __attribute__((__cdecl__)) _putc_r (struct _reent *, int, FILE *); int __attribute__((__cdecl__)) _putc_unlocked_r (struct _reent *, int, FILE *); int __attribute__((__cdecl__)) _putchar_unlocked_r (struct _reent *, int); int __attribute__((__cdecl__)) _putchar_r (struct _reent *, int); int __attribute__((__cdecl__)) _puts_r (struct _reent *, const char *); int __attribute__((__cdecl__)) _remove_r (struct _reent *, const char *); int __attribute__((__cdecl__)) _rename_r (struct _reent *, const char *_old, const char *_new) ; int __attribute__((__cdecl__)) _scanf_r (struct _reent *, const char *, ...) __attribute__ ((__format__ (__scanf__, 2, 3))) ; int __attribute__((__cdecl__)) _siprintf_r (struct _reent *, char *, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; int __attribute__((__cdecl__)) _siscanf_r (struct _reent *, const char *, const char *, ...) __attribute__ ((__format__ (__scanf__, 3, 4))) ; int __attribute__((__cdecl__)) _sniprintf_r (struct _reent *, char *, size_t, const char *, ...) __attribute__ ((__format__ (__printf__, 4, 5))) ; int __attribute__((__cdecl__)) _snprintf_r (struct _reent *, char *, size_t, const char *, ...) __attribute__ ((__format__ (__printf__, 4, 5))) ; int __attribute__((__cdecl__)) _sprintf_r (struct _reent *, char *, const char *, ...) __attribute__ ((__format__ (__printf__, 3, 4))) ; int __attribute__((__cdecl__)) _sscanf_r (struct _reent *, const char *, const char *, ...) __attribute__ ((__format__ (__scanf__, 3, 4))) ; char * __attribute__((__cdecl__)) _tempnam_r (struct _reent *, const char *, const char *); FILE * __attribute__((__cdecl__)) _tmpfile_r (struct _reent *); char * __attribute__((__cdecl__)) _tmpnam_r (struct _reent *, char *); int __attribute__((__cdecl__)) _ungetc_r (struct _reent *, int, FILE *); int __attribute__((__cdecl__)) _vasiprintf_r (struct _reent *, char **, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; char * __attribute__((__cdecl__)) _vasniprintf_r (struct _reent*, char *, size_t *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 4, 0))) ; char * __attribute__((__cdecl__)) _vasnprintf_r (struct _reent*, char *, size_t *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 4, 0))) ; int __attribute__((__cdecl__)) _vasprintf_r (struct _reent *, char **, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) _vdiprintf_r (struct _reent *, int, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) _vdprintf_r (struct _reent *, int, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) _vfiprintf_r (struct _reent *, FILE *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) _vfiscanf_r (struct _reent *, FILE *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 3, 0))) ; int __attribute__((__cdecl__)) _vfprintf_r (struct _reent *, FILE *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) _vfscanf_r (struct _reent *, FILE *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 3, 0))) ; int __attribute__((__cdecl__)) _viprintf_r (struct _reent *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; int __attribute__((__cdecl__)) _viscanf_r (struct _reent *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 2, 0))) ; int __attribute__((__cdecl__)) _vprintf_r (struct _reent *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 2, 0))) ; int __attribute__((__cdecl__)) _vscanf_r (struct _reent *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 2, 0))) ; int __attribute__((__cdecl__)) _vsiprintf_r (struct _reent *, char *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) _vsiscanf_r (struct _reent *, const char *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 3, 0))) ; int __attribute__((__cdecl__)) _vsniprintf_r (struct _reent *, char *, size_t, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 4, 0))) ; int __attribute__((__cdecl__)) _vsnprintf_r (struct _reent *, char *, size_t, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 4, 0))) ; int __attribute__((__cdecl__)) _vsprintf_r (struct _reent *, char *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__printf__, 3, 0))) ; int __attribute__((__cdecl__)) _vsscanf_r (struct _reent *, const char *, const char *, __gnuc_va_list) __attribute__ ((__format__ (__scanf__, 3, 0))) ; int __attribute__((__cdecl__)) fpurge (FILE *); ssize_t __attribute__((__cdecl__)) __getdelim (char **, size_t *, int, FILE *); ssize_t __attribute__((__cdecl__)) __getline (char **, size_t *, FILE *); # 518 "/usr/include/stdio.h" 3 4 int __attribute__((__cdecl__)) __srget_r (struct _reent *, FILE *); int __attribute__((__cdecl__)) __swbuf_r (struct _reent *, int, FILE *); FILE *__attribute__((__cdecl__)) funopen (const void * __cookie, int (*__readfn)(void * __c, char *__buf, int __n), int (*__writefn)(void * __c, const char *__buf, int __n), _fpos64_t (*__seekfn)(void * __c, _fpos64_t __off, int __whence), int (*__closefn)(void * __c)) ; FILE *__attribute__((__cdecl__)) _funopen_r (struct _reent *, const void * __cookie, int (*__readfn)(void * __c, char *__buf, int __n), int (*__writefn)(void * __c, const char *__buf, int __n), _fpos64_t (*__seekfn)(void * __c, _fpos64_t __off, int __whence), int (*__closefn)(void * __c)) ; # 550 "/usr/include/stdio.h" 3 4 #define fropen(__cookie,__fn) funopen(__cookie, __fn, (int (*)())0, (fpos_t (*)())0, (int (*)())0) #define fwopen(__cookie,__fn) funopen(__cookie, (int (*)())0, __fn, (fpos_t (*)())0, (int (*)())0) typedef ssize_t cookie_read_function_t(void *__cookie, char *__buf, size_t __n); typedef ssize_t cookie_write_function_t(void *__cookie, const char *__buf, size_t __n); typedef int cookie_seek_function_t(void *__cookie, _off64_t *__off, int __whence); typedef int cookie_close_function_t(void *__cookie); typedef struct { cookie_read_function_t *read; cookie_write_function_t *write; cookie_seek_function_t *seek; cookie_close_function_t *close; } cookie_io_functions_t; FILE *__attribute__((__cdecl__)) fopencookie (void *__cookie, const char *__mode, cookie_io_functions_t __functions) ; FILE *__attribute__((__cdecl__)) _fopencookie_r (struct _reent *, void *__cookie, const char *__mode, cookie_io_functions_t __functions) ; #define __sgetc_raw_r(__ptr,__f) (--(__f)->_r < 0 ? __srget_r(__ptr, __f) : (int)(*(__f)->_p++)) # 598 "/usr/include/stdio.h" 3 4 extern __inline__ __attribute__ ((__always_inline__)) int __sgetc_r(struct _reent *__ptr, FILE *__p); extern __inline__ __attribute__ ((__always_inline__)) int __sgetc_r(struct _reent *__ptr, FILE *__p) { int __c = (--(__p)->_r < 0 ? __srget_r(__ptr, __p) : (int)(*(__p)->_p++)); if ((__p->_flags & 0x4000) && (__c == '\r')) { int __c2 = (--(__p)->_r < 0 ? __srget_r(__ptr, __p) : (int)(*(__p)->_p++)); if (__c2 == '\n') __c = __c2; else ungetc(__c2, __p); } return __c; } # 630 "/usr/include/stdio.h" 3 4 #define __sputc_raw_r(__ptr,__c,__p) (--(__p)->_w < 0 ? (__p)->_w >= (__p)->_lbfsize ? (*(__p)->_p = (__c)), *(__p)->_p != '\n' ? (int)*(__p)->_p++ : __swbuf_r(__ptr, '\n', __p) : __swbuf_r(__ptr, (int)(__c), __p) : (*(__p)->_p = (__c), (int)*(__p)->_p++)) # 639 "/usr/include/stdio.h" 3 4 #define __sputc_r(__ptr,__c,__p) ((((__p)->_flags & __SCLE) && ((__c) == '\n')) ? __sputc_raw_r(__ptr, '\r', (__p)) : 0 , __sputc_raw_r((__ptr), (__c), (__p))) # 648 "/usr/include/stdio.h" 3 4 #define __sfeof(p) (((p)->_flags & __SEOF) != 0) #define __sferror(p) (((p)->_flags & __SERR) != 0) #define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF))) #define __sfileno(p) ((p)->_file) #define feof(p) __sfeof(p) #define ferror(p) __sferror(p) #define clearerr(p) __sclearerr(p) # 672 "/usr/include/stdio.h" 3 4 #define fast_putc(x,p) (--(p)->_w < 0 ? __swbuf_r(_REENT, (int)(x), p) == EOF : (*(p)->_p = (x), (p)->_p++, 0)) #define L_cuserid 9 #define L_ctermid 16 #define getchar() getc(stdin) #define putchar(x) putc(x, stdout) # 26 "./Include/Python.h" 2 # 1 "/usr/include/string.h" 1 3 4 #define _STRING_H_ #define __need_size_t # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 160 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 233 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_size_t # 342 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_wchar_t # 395 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 16 "/usr/include/string.h" 2 3 4 void * __attribute__((__cdecl__)) memchr (const void *, int, size_t); int __attribute__((__cdecl__)) memcmp (const void *, const void *, size_t); void * __attribute__((__cdecl__)) memcpy (void *, const void *, size_t); void * __attribute__((__cdecl__)) memmove (void *, const void *, size_t); void * __attribute__((__cdecl__)) memset (void *, int, size_t); char *__attribute__((__cdecl__)) strcat (char *, const char *); char *__attribute__((__cdecl__)) strchr (const char *, int); int __attribute__((__cdecl__)) strcmp (const char *, const char *); int __attribute__((__cdecl__)) strcoll (const char *, const char *); char *__attribute__((__cdecl__)) strcpy (char *, const char *); size_t __attribute__((__cdecl__)) strcspn (const char *, const char *); char *__attribute__((__cdecl__)) strerror (int); size_t __attribute__((__cdecl__)) strlen (const char *); char *__attribute__((__cdecl__)) strncat (char *, const char *, size_t); int __attribute__((__cdecl__)) strncmp (const char *, const char *, size_t); char *__attribute__((__cdecl__)) strncpy (char *, const char *, size_t); char *__attribute__((__cdecl__)) strpbrk (const char *, const char *); char *__attribute__((__cdecl__)) strrchr (const char *, int); size_t __attribute__((__cdecl__)) strspn (const char *, const char *); char *__attribute__((__cdecl__)) strstr (const char *, const char *); char *__attribute__((__cdecl__)) strtok (char *, const char *); size_t __attribute__((__cdecl__)) strxfrm (char *, const char *, size_t); char *__attribute__((__cdecl__)) strtok_r (char *, const char *, char **); int __attribute__((__cdecl__)) bcmp (const void *, const void *, size_t); void __attribute__((__cdecl__)) bcopy (const void *, void *, size_t); void __attribute__((__cdecl__)) bzero (void *, size_t); int __attribute__((__cdecl__)) ffs (int); char *__attribute__((__cdecl__)) index (const char *, int); void * __attribute__((__cdecl__)) memccpy (void *, const void *, int, size_t); void * __attribute__((__cdecl__)) mempcpy (void *, const void *, size_t); void * __attribute__((__cdecl__)) memmem (const void *, size_t, const void *, size_t); void * __attribute__((__cdecl__)) memrchr (const void *, int, size_t); char *__attribute__((__cdecl__)) rindex (const char *, int); char *__attribute__((__cdecl__)) stpcpy (char *, const char *); char *__attribute__((__cdecl__)) stpncpy (char *, const char *, size_t); int __attribute__((__cdecl__)) strcasecmp (const char *, const char *); char *__attribute__((__cdecl__)) strcasestr (const char *, const char *); char *__attribute__((__cdecl__)) strchrnul (const char *, int); char *__attribute__((__cdecl__)) strdup (const char *); char *__attribute__((__cdecl__)) _strdup_r (struct _reent *, const char *); char *__attribute__((__cdecl__)) strndup (const char *, size_t); char *__attribute__((__cdecl__)) _strndup_r (struct _reent *, const char *, size_t); char *__attribute__((__cdecl__)) strerror_r (int, char *, size_t); # 86 "/usr/include/string.h" 3 4 size_t __attribute__((__cdecl__)) strlcat (char *, const char *, size_t); size_t __attribute__((__cdecl__)) strlcpy (char *, const char *, size_t); int __attribute__((__cdecl__)) strncasecmp (const char *, const char *, size_t); size_t __attribute__((__cdecl__)) strnlen (const char *, size_t); char *__attribute__((__cdecl__)) strsep (char **, const char *); char *__attribute__((__cdecl__)) strlwr (char *); char *__attribute__((__cdecl__)) strupr (char *); char *__attribute__((__cdecl__)) strsignal (int __signo); int __attribute__((__cdecl__)) strtosigno (const char *__name); char * __attribute__((__cdecl__)) _strerror_r (struct _reent *, int, int, int *); #define strdupa(__s) (__extension__ ({const char *__in = (__s); size_t __len = strlen (__in) + 1; char * __out = (char *) __builtin_alloca (__len); (char *) memcpy (__out, __in, __len);})) #define strndupa(__s,__n) (__extension__ ({const char *__in = (__s); size_t __len = strnlen (__in, (__n)) + 1; char *__out = (char *) __builtin_alloca (__len); __out[__len-1] = '\0'; (char *) memcpy (__out, __in, __len-1);})) # 119 "/usr/include/string.h" 3 4 #define strcmpi strcasecmp #define stricmp strcasecmp #define strncmpi strncasecmp #define strnicmp strncasecmp # 1 "/usr/include/sys/string.h" 1 3 4 # 134 "/usr/include/string.h" 2 3 4 # 31 "./Include/Python.h" 2 # 1 "/usr/include/errno.h" 1 3 4 #define __ERRNO_H__ typedef int error_t; #define __error_t_defined 1 # 1 "/usr/include/sys/errno.h" 1 3 4 # 9 "/usr/include/sys/errno.h" 3 4 #define _SYS_ERRNO_H_ #define errno (*__errno()) extern int *__errno (void); extern __attribute__((dllimport)) const char * const _sys_errlist[]; extern __attribute__((dllimport)) int _sys_nerr; extern __attribute__((dllimport)) const char * const sys_errlist[]; extern __attribute__((dllimport)) int sys_nerr; extern __attribute__((dllimport)) char *program_invocation_name; extern __attribute__((dllimport)) char *program_invocation_short_name; #define __errno_r(ptr) ((ptr)->_errno) #define EPERM 1 #define ENOENT 2 #define ESRCH 3 #define EINTR 4 #define EIO 5 #define ENXIO 6 #define E2BIG 7 #define ENOEXEC 8 #define EBADF 9 #define ECHILD 10 #define EAGAIN 11 #define ENOMEM 12 #define EACCES 13 #define EFAULT 14 #define ENOTBLK 15 #define EBUSY 16 #define EEXIST 17 #define EXDEV 18 #define ENODEV 19 #define ENOTDIR 20 #define EISDIR 21 #define EINVAL 22 #define ENFILE 23 #define EMFILE 24 #define ENOTTY 25 #define ETXTBSY 26 #define EFBIG 27 #define ENOSPC 28 #define ESPIPE 29 #define EROFS 30 #define EMLINK 31 #define EPIPE 32 #define EDOM 33 #define ERANGE 34 #define ENOMSG 35 #define EIDRM 36 #define ECHRNG 37 #define EL2NSYNC 38 #define EL3HLT 39 #define EL3RST 40 #define ELNRNG 41 #define EUNATCH 42 #define ENOCSI 43 #define EL2HLT 44 #define EDEADLK 45 #define ENOLCK 46 #define EBADE 50 #define EBADR 51 #define EXFULL 52 #define ENOANO 53 #define EBADRQC 54 #define EBADSLT 55 #define EDEADLOCK 56 #define EBFONT 57 #define ENOSTR 60 #define ENODATA 61 #define ETIME 62 #define ENOSR 63 #define ENONET 64 #define ENOPKG 65 #define EREMOTE 66 #define ENOLINK 67 #define EADV 68 #define ESRMNT 69 #define ECOMM 70 #define EPROTO 71 #define EMULTIHOP 74 #define ELBIN 75 #define EDOTDOT 76 #define EBADMSG 77 #define EFTYPE 79 #define ENOTUNIQ 80 #define EBADFD 81 #define EREMCHG 82 #define ELIBACC 83 #define ELIBBAD 84 #define ELIBSCN 85 #define ELIBMAX 86 #define ELIBEXEC 87 #define ENOSYS 88 #define ENMFILE 89 #define ENOTEMPTY 90 #define ENAMETOOLONG 91 #define ELOOP 92 #define EOPNOTSUPP 95 #define EPFNOSUPPORT 96 #define ECONNRESET 104 #define ENOBUFS 105 #define EAFNOSUPPORT 106 #define EPROTOTYPE 107 #define ENOTSOCK 108 #define ENOPROTOOPT 109 #define ESHUTDOWN 110 #define ECONNREFUSED 111 #define EADDRINUSE 112 #define ECONNABORTED 113 #define ENETUNREACH 114 #define ENETDOWN 115 #define ETIMEDOUT 116 #define EHOSTDOWN 117 #define EHOSTUNREACH 118 #define EINPROGRESS 119 #define EALREADY 120 #define EDESTADDRREQ 121 #define EMSGSIZE 122 #define EPROTONOSUPPORT 123 #define ESOCKTNOSUPPORT 124 #define EADDRNOTAVAIL 125 #define ENETRESET 126 #define EISCONN 127 #define ENOTCONN 128 #define ETOOMANYREFS 129 #define EPROCLIM 130 #define EUSERS 131 #define EDQUOT 132 #define ESTALE 133 #define ENOTSUP 134 #define ENOMEDIUM 135 #define ENOSHARE 136 #define ECASECLASH 137 #define EILSEQ 138 #define EOVERFLOW 139 #define ECANCELED 140 #define ENOTRECOVERABLE 141 #define EOWNERDEAD 142 #define ESTRPIPE 143 #define EWOULDBLOCK EAGAIN #define __ELASTERROR 2000 # 10 "/usr/include/errno.h" 2 3 4 # 33 "./Include/Python.h" 2 # 1 "/usr/include/stdlib.h" 1 3 4 #define _STDLIB_H_ # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 11 "/usr/include/stdlib.h" 2 3 4 #define __need_size_t #define __need_wchar_t # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 160 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 233 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_size_t # 342 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_wchar_t # 395 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 16 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/machine/stdlib.h" 1 3 4 # 12 "/usr/include/machine/stdlib.h" 3 4 #define _MACHSTDLIB_H_ char *mkdtemp (char *); # 19 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/alloca.h" 1 3 4 #define _NEWLIB_ALLOCA_H #undef alloca #define alloca(size) __builtin_alloca(size) # 21 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/cygwin/stdlib.h" 1 3 4 # 12 "/usr/include/cygwin/stdlib.h" 3 4 #define _CYGWIN_STDLIB_H # 1 "/usr/include/cygwin/wait.h" 1 3 4 # 12 "/usr/include/cygwin/wait.h" 3 4 #define _CYGWIN_WAIT_H #define WNOHANG 1 #define WUNTRACED 2 #define WCONTINUED 8 #define __W_CONTINUED 0xffff #define __wait_status_to_int(w) (w) # 31 "/usr/include/cygwin/wait.h" 3 4 #define WIFEXITED(w) ((__wait_status_to_int(w) & 0xff) == 0) #define WIFSIGNALED(w) ((__wait_status_to_int(w) & 0x7f) > 0 && ((__wait_status_to_int(w) & 0x7f) < 0x7f)) #define WIFSTOPPED(w) ((__wait_status_to_int(w) & 0xff) == 0x7f) #define WIFCONTINUED(w) ((__wait_status_to_int(w) & 0xffff) == __W_CONTINUED) #define WEXITSTATUS(w) ((__wait_status_to_int(w) >> 8) & 0xff) #define WTERMSIG(w) (__wait_status_to_int(w) & 0x7f) #define WSTOPSIG WEXITSTATUS #define WCOREDUMP(w) (WIFSIGNALED(w) && (__wait_status_to_int(w) & 0x80)) # 15 "/usr/include/cygwin/stdlib.h" 2 3 4 const char *getprogname (void); void setprogname (const char *); char *realpath (const char *, char *); char *canonicalize_file_name (const char *); int unsetenv (const char *); char *initstate (unsigned seed, char *state, size_t size); long random (void); char *setstate (const char *state); void srandom (unsigned); char *ptsname (int); int ptsname_r(int, char *, size_t); int getpt (void); int grantpt (int); int unlockpt (int); int posix_openpt (int); int posix_memalign (void **, size_t, size_t); extern void * memalign (size_t, size_t); extern void * valloc (size_t); #undef _malloc_r #define _malloc_r(r,s) malloc (s) #undef _free_r #define _free_r(r,p) free (p) #undef _realloc_r #define _realloc_r(r,p,s) realloc (p, s) #undef _calloc_r #define _calloc_r(r,s1,s2) calloc (s1, s2); #undef _memalign_r #define _memalign_r(r,s1,s2) memalign (s1, s2); #undef _mallinfo_r #define _mallinfo_r(r) mallinfo () #undef _malloc_stats_r #define _malloc_stats_r(r) malloc_stats () #undef _mallopt_r #define _mallopt_r(i1,i2) mallopt (i1, i2) #undef _malloc_usable_size_r #define _malloc_usable_size_r(r,p) malloc_usable_size (p) #undef _valloc_r #define _valloc_r(r,s) valloc (s) #undef _pvalloc_r #define _pvalloc_r(r,s) pvalloc (s) #undef _malloc_trim_r #define _malloc_trim_r(r,s) malloc_trim (s) #undef _mstats_r #define _mstats_r(r,p) mstats (p) # 25 "/usr/include/stdlib.h" 2 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long quot; long rem; } ldiv_t; typedef struct { long long int quot; long long int rem; } lldiv_t; #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0 #define RAND_MAX __RAND_MAX int __attribute__((__cdecl__)) __locale_mb_cur_max (void); #define MB_CUR_MAX __locale_mb_cur_max() void __attribute__((__cdecl__)) abort (void) __attribute__ ((noreturn)); int __attribute__((__cdecl__)) abs (int); int __attribute__((__cdecl__)) atexit (void (*__func)(void)); double __attribute__((__cdecl__)) atof (const char *__nptr); float __attribute__((__cdecl__)) atoff (const char *__nptr); int __attribute__((__cdecl__)) atoi (const char *__nptr); int __attribute__((__cdecl__)) _atoi_r (struct _reent *, const char *__nptr); long __attribute__((__cdecl__)) atol (const char *__nptr); long __attribute__((__cdecl__)) _atol_r (struct _reent *, const char *__nptr); void * __attribute__((__cdecl__)) bsearch (const void * __key, const void * __base, size_t __nmemb, size_t __size, int (__attribute__((__cdecl__)) * _compar) (const void *, const void *)) ; void * __attribute__((__cdecl__)) calloc (size_t __nmemb, size_t __size) ; div_t __attribute__((__cdecl__)) div (int __numer, int __denom); void __attribute__((__cdecl__)) exit (int __status) __attribute__ ((noreturn)); void __attribute__((__cdecl__)) free (void *) ; char * __attribute__((__cdecl__)) getenv (const char *__string); char * __attribute__((__cdecl__)) _getenv_r (struct _reent *, const char *__string); char * __attribute__((__cdecl__)) _findenv (const char *, int *); char * __attribute__((__cdecl__)) _findenv_r (struct _reent *, const char *, int *); extern char *suboptarg; int __attribute__((__cdecl__)) getsubopt (char **, char * const *, char **); long __attribute__((__cdecl__)) labs (long); ldiv_t __attribute__((__cdecl__)) ldiv (long __numer, long __denom); void * __attribute__((__cdecl__)) malloc (size_t __size) ; int __attribute__((__cdecl__)) mblen (const char *, size_t); int __attribute__((__cdecl__)) _mblen_r (struct _reent *, const char *, size_t, _mbstate_t *); int __attribute__((__cdecl__)) mbtowc (wchar_t *, const char *, size_t); int __attribute__((__cdecl__)) _mbtowc_r (struct _reent *, wchar_t *, const char *, size_t, _mbstate_t *); int __attribute__((__cdecl__)) wctomb (char *, wchar_t); int __attribute__((__cdecl__)) _wctomb_r (struct _reent *, char *, wchar_t, _mbstate_t *); size_t __attribute__((__cdecl__)) mbstowcs (wchar_t *, const char *, size_t); size_t __attribute__((__cdecl__)) _mbstowcs_r (struct _reent *, wchar_t *, const char *, size_t, _mbstate_t *); size_t __attribute__((__cdecl__)) wcstombs (char *, const wchar_t *, size_t); size_t __attribute__((__cdecl__)) _wcstombs_r (struct _reent *, char *, const wchar_t *, size_t, _mbstate_t *); char * __attribute__((__cdecl__)) mkdtemp (char *); int __attribute__((__cdecl__)) mkostemp (char *, int); int __attribute__((__cdecl__)) mkostemps (char *, int, int); int __attribute__((__cdecl__)) mkstemp (char *); int __attribute__((__cdecl__)) mkstemps (char *, int); char * __attribute__((__cdecl__)) mktemp (char *) __attribute__ ((__warning__ ("the use of `mktemp' is dangerous; use `mkstemp' instead"))); char * __attribute__((__cdecl__)) _mkdtemp_r (struct _reent *, char *); int __attribute__((__cdecl__)) _mkostemp_r (struct _reent *, char *, int); int __attribute__((__cdecl__)) _mkostemps_r (struct _reent *, char *, int, int); int __attribute__((__cdecl__)) _mkstemp_r (struct _reent *, char *); int __attribute__((__cdecl__)) _mkstemps_r (struct _reent *, char *, int); char * __attribute__((__cdecl__)) _mktemp_r (struct _reent *, char *) __attribute__ ((__warning__ ("the use of `mktemp' is dangerous; use `mkstemp' instead"))); void __attribute__((__cdecl__)) qsort (void * __base, size_t __nmemb, size_t __size, int(*_compar)(const void *, const void *)); int __attribute__((__cdecl__)) rand (void); void * __attribute__((__cdecl__)) realloc (void * __r, size_t __size) ; void * __attribute__((__cdecl__)) reallocf (void * __r, size_t __size); void __attribute__((__cdecl__)) srand (unsigned __seed); double __attribute__((__cdecl__)) strtod (const char *__n, char **__end_PTR); double __attribute__((__cdecl__)) _strtod_r (struct _reent *,const char *__n, char **__end_PTR); float __attribute__((__cdecl__)) strtof (const char *__n, char **__end_PTR); #define strtodf strtof long __attribute__((__cdecl__)) strtol (const char *__n, char **__end_PTR, int __base); long __attribute__((__cdecl__)) _strtol_r (struct _reent *,const char *__n, char **__end_PTR, int __base); unsigned long __attribute__((__cdecl__)) strtoul (const char *__n, char **__end_PTR, int __base); unsigned long __attribute__((__cdecl__)) _strtoul_r (struct _reent *,const char *__n, char **__end_PTR, int __base); int __attribute__((__cdecl__)) system (const char *__string); long __attribute__((__cdecl__)) a64l (const char *__input); char * __attribute__((__cdecl__)) l64a (long __input); char * __attribute__((__cdecl__)) _l64a_r (struct _reent *,long __input); int __attribute__((__cdecl__)) on_exit (void (*__func)(int, void *),void * __arg); void __attribute__((__cdecl__)) _Exit (int __status) __attribute__ ((noreturn)); int __attribute__((__cdecl__)) putenv (char *__string); int __attribute__((__cdecl__)) _putenv_r (struct _reent *, char *__string); void * __attribute__((__cdecl__)) _reallocf_r (struct _reent *, void *, size_t); int __attribute__((__cdecl__)) setenv (const char *__string, const char *__value, int __overwrite); int __attribute__((__cdecl__)) _setenv_r (struct _reent *, const char *__string, const char *__value, int __overwrite); char * __attribute__((__cdecl__)) gcvt (double,int,char *); char * __attribute__((__cdecl__)) gcvtf (float,int,char *); char * __attribute__((__cdecl__)) fcvt (double,int,int *,int *); char * __attribute__((__cdecl__)) fcvtf (float,int,int *,int *); char * __attribute__((__cdecl__)) ecvt (double,int,int *,int *); char * __attribute__((__cdecl__)) ecvtbuf (double, int, int*, int*, char *); char * __attribute__((__cdecl__)) fcvtbuf (double, int, int*, int*, char *); char * __attribute__((__cdecl__)) ecvtf (float,int,int *,int *); char * __attribute__((__cdecl__)) dtoa (double, int, int, int *, int*, char**); int __attribute__((__cdecl__)) rand_r (unsigned *__seed); double __attribute__((__cdecl__)) drand48 (void); double __attribute__((__cdecl__)) _drand48_r (struct _reent *); double __attribute__((__cdecl__)) erand48 (unsigned short [3]); double __attribute__((__cdecl__)) _erand48_r (struct _reent *, unsigned short [3]); long __attribute__((__cdecl__)) jrand48 (unsigned short [3]); long __attribute__((__cdecl__)) _jrand48_r (struct _reent *, unsigned short [3]); void __attribute__((__cdecl__)) lcong48 (unsigned short [7]); void __attribute__((__cdecl__)) _lcong48_r (struct _reent *, unsigned short [7]); long __attribute__((__cdecl__)) lrand48 (void); long __attribute__((__cdecl__)) _lrand48_r (struct _reent *); long __attribute__((__cdecl__)) mrand48 (void); long __attribute__((__cdecl__)) _mrand48_r (struct _reent *); long __attribute__((__cdecl__)) nrand48 (unsigned short [3]); long __attribute__((__cdecl__)) _nrand48_r (struct _reent *, unsigned short [3]); unsigned short * __attribute__((__cdecl__)) seed48 (unsigned short [3]); unsigned short * __attribute__((__cdecl__)) _seed48_r (struct _reent *, unsigned short [3]); void __attribute__((__cdecl__)) srand48 (long); void __attribute__((__cdecl__)) _srand48_r (struct _reent *, long); long long __attribute__((__cdecl__)) atoll (const char *__nptr); long long __attribute__((__cdecl__)) _atoll_r (struct _reent *, const char *__nptr); long long __attribute__((__cdecl__)) llabs (long long); lldiv_t __attribute__((__cdecl__)) lldiv (long long __numer, long long __denom); long long __attribute__((__cdecl__)) strtoll (const char *__n, char **__end_PTR, int __base); long long __attribute__((__cdecl__)) _strtoll_r (struct _reent *, const char *__n, char **__end_PTR, int __base); unsigned long long __attribute__((__cdecl__)) strtoull (const char *__n, char **__end_PTR, int __base); unsigned long long __attribute__((__cdecl__)) _strtoull_r (struct _reent *, const char *__n, char **__end_PTR, int __base); # 206 "/usr/include/stdlib.h" 3 4 char * __attribute__((__cdecl__)) _dtoa_r (struct _reent *, double, int, int, int *, int*, char**); int __attribute__((__cdecl__)) _system_r (struct _reent *, const char *); void __attribute__((__cdecl__)) __eprintf (const char *, const char *, unsigned int, const char *); # 35 "./Include/Python.h" 2 # 1 "/usr/include/unistd.h" 1 3 4 #define _UNISTD_H_ # 1 "/usr/include/sys/unistd.h" 1 3 4 #define _SYS_UNISTD_H # 11 "/usr/include/sys/unistd.h" 3 4 #define __need_size_t #define __need_ptrdiff_t # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 160 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 233 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_size_t # 342 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_wchar_t # 395 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 14 "/usr/include/sys/unistd.h" 2 3 4 extern char **environ; void __attribute__((__cdecl__)) _exit (int __status ) __attribute__ ((noreturn)); int __attribute__((__cdecl__)) access (const char *__path, int __amode ); unsigned __attribute__((__cdecl__)) alarm (unsigned __secs ); int __attribute__((__cdecl__)) chdir (const char *__path ); int __attribute__((__cdecl__)) chmod (const char *__path, mode_t __mode ); int __attribute__((__cdecl__)) chown (const char *__path, uid_t __owner, gid_t __group ); int __attribute__((__cdecl__)) chroot (const char *__path ); int __attribute__((__cdecl__)) close (int __fildes ); size_t __attribute__((__cdecl__)) confstr (int __name, char *__buf, size_t __len); char * __attribute__((__cdecl__)) ctermid (char *__s ); char * __attribute__((__cdecl__)) cuserid (char *__s ); int __attribute__((__cdecl__)) daemon (int nochdir, int noclose); int __attribute__((__cdecl__)) dup (int __fildes ); int __attribute__((__cdecl__)) dup2 (int __fildes, int __fildes2 ); int __attribute__((__cdecl__)) dup3 (int __fildes, int __fildes2, int flags); int __attribute__((__cdecl__)) eaccess (const char *__path, int __mode); void __attribute__((__cdecl__)) endusershell (void); int __attribute__((__cdecl__)) euidaccess (const char *__path, int __mode); int __attribute__((__cdecl__)) execl (const char *__path, const char *, ... ); int __attribute__((__cdecl__)) execle (const char *__path, const char *, ... ); int __attribute__((__cdecl__)) execlp (const char *__file, const char *, ... ); int __attribute__((__cdecl__)) execlpe (const char *__file, const char *, ... ); int __attribute__((__cdecl__)) execv (const char *__path, char * const __argv[] ); int __attribute__((__cdecl__)) execve (const char *__path, char * const __argv[], char * const __envp[] ); int __attribute__((__cdecl__)) execvp (const char *__file, char * const __argv[] ); int __attribute__((__cdecl__)) execvpe (const char *__file, char * const __argv[], char * const __envp[] ); int __attribute__((__cdecl__)) faccessat (int __dirfd, const char *__path, int __mode, int __flags); int __attribute__((__cdecl__)) fchdir (int __fildes); int __attribute__((__cdecl__)) fchmod (int __fildes, mode_t __mode ); int __attribute__((__cdecl__)) fchown (int __fildes, uid_t __owner, gid_t __group ); int __attribute__((__cdecl__)) fchownat (int __dirfd, const char *__path, uid_t __owner, gid_t __group, int __flags); int __attribute__((__cdecl__)) fexecve (int __fd, char * const __argv[], char * const __envp[] ); pid_t __attribute__((__cdecl__)) fork (void ); long __attribute__((__cdecl__)) fpathconf (int __fd, int __name ); int __attribute__((__cdecl__)) fsync (int __fd); int __attribute__((__cdecl__)) fdatasync (int __fd); char * __attribute__((__cdecl__)) get_current_dir_name (void); char * __attribute__((__cdecl__)) getcwd (char *__buf, size_t __size ); int __attribute__((__cdecl__)) getdomainname (char *__name, size_t __len); gid_t __attribute__((__cdecl__)) getegid (void ); uid_t __attribute__((__cdecl__)) geteuid (void ); gid_t __attribute__((__cdecl__)) getgid (void ); int __attribute__((__cdecl__)) getgroups (int __gidsetsize, gid_t __grouplist[] ); long __attribute__((__cdecl__)) gethostid (void); char * __attribute__((__cdecl__)) getlogin (void ); int __attribute__((__cdecl__)) getlogin_r (char *name, size_t namesize); char * __attribute__((__cdecl__)) getpass (const char *__prompt); int __attribute__((__cdecl__)) getpagesize (void); int __attribute__((__cdecl__)) getpeereid (int, uid_t *, gid_t *); pid_t __attribute__((__cdecl__)) getpgid (pid_t); pid_t __attribute__((__cdecl__)) getpgrp (void ); pid_t __attribute__((__cdecl__)) getpid (void ); pid_t __attribute__((__cdecl__)) getppid (void ); pid_t __attribute__((__cdecl__)) getsid (pid_t); uid_t __attribute__((__cdecl__)) getuid (void ); char * __attribute__((__cdecl__)) getusershell (void); char * __attribute__((__cdecl__)) getwd (char *__buf ); int __attribute__((__cdecl__)) iruserok (unsigned long raddr, int superuser, const char *ruser, const char *luser); int __attribute__((__cdecl__)) isatty (int __fildes ); int __attribute__((__cdecl__)) lchown (const char *__path, uid_t __owner, gid_t __group ); int __attribute__((__cdecl__)) link (const char *__path1, const char *__path2 ); int __attribute__((__cdecl__)) linkat (int __dirfd1, const char *__path1, int __dirfd2, const char *__path2, int __flags ); int __attribute__((__cdecl__)) nice (int __nice_value ); off_t __attribute__((__cdecl__)) lseek (int __fildes, off_t __offset, int __whence ); #define F_ULOCK 0 #define F_LOCK 1 #define F_TLOCK 2 #define F_TEST 3 int __attribute__((__cdecl__)) lockf (int __fd, int __cmd, off_t __len); long __attribute__((__cdecl__)) pathconf (const char *__path, int __name ); int __attribute__((__cdecl__)) pause (void ); int __attribute__((__cdecl__)) pthread_atfork (void (*)(void), void (*)(void), void (*)(void)); int __attribute__((__cdecl__)) pipe (int __fildes[2] ); int __attribute__((__cdecl__)) pipe2 (int __fildes[2], int flags); ssize_t __attribute__((__cdecl__)) pread (int __fd, void *__buf, size_t __nbytes, off_t __offset); ssize_t __attribute__((__cdecl__)) pwrite (int __fd, const void *__buf, size_t __nbytes, off_t __offset); _ssize_t __attribute__((__cdecl__)) read (int __fd, void *__buf, size_t __nbyte ); int __attribute__((__cdecl__)) rresvport (int *__alport); int __attribute__((__cdecl__)) revoke (char *__path); int __attribute__((__cdecl__)) rmdir (const char *__path ); int __attribute__((__cdecl__)) ruserok (const char *rhost, int superuser, const char *ruser, const char *luser); void * __attribute__((__cdecl__)) sbrk (ptrdiff_t __incr); int __attribute__((__cdecl__)) setegid (gid_t __gid ); int __attribute__((__cdecl__)) seteuid (uid_t __uid ); int __attribute__((__cdecl__)) setgid (gid_t __gid ); int __attribute__((__cdecl__)) setgroups (int ngroups, const gid_t *grouplist ); int __attribute__((__cdecl__)) setpgid (pid_t __pid, pid_t __pgid ); int __attribute__((__cdecl__)) setpgrp (void ); int __attribute__((__cdecl__)) setregid (gid_t __rgid, gid_t __egid); int __attribute__((__cdecl__)) setreuid (uid_t __ruid, uid_t __euid); pid_t __attribute__((__cdecl__)) setsid (void ); int __attribute__((__cdecl__)) setuid (uid_t __uid ); void __attribute__((__cdecl__)) setusershell (void); unsigned __attribute__((__cdecl__)) sleep (unsigned int __seconds ); void __attribute__((__cdecl__)) swab (const void *, void *, ssize_t); long __attribute__((__cdecl__)) sysconf (int __name ); pid_t __attribute__((__cdecl__)) tcgetpgrp (int __fildes ); int __attribute__((__cdecl__)) tcsetpgrp (int __fildes, pid_t __pgrp_id ); char * __attribute__((__cdecl__)) ttyname (int __fildes ); int __attribute__((__cdecl__)) ttyname_r (int, char *, size_t); int __attribute__((__cdecl__)) unlink (const char *__path ); int __attribute__((__cdecl__)) usleep (useconds_t __useconds); int __attribute__((__cdecl__)) vhangup (void ); _ssize_t __attribute__((__cdecl__)) write (int __fd, const void *__buf, size_t __nbyte ); #define __UNISTD_GETOPT__ # 1 "/usr/include/getopt.h" 1 3 4 # 38 "/usr/include/getopt.h" 3 4 #define __GETOPT_H__ extern int __attribute__((dllimport)) opterr; extern int __attribute__((dllimport)) optind; extern int __attribute__((dllimport)) optopt; extern int __attribute__((dllimport)) optreset; extern char __attribute__((dllimport)) *optarg; int getopt (int, char * const *, const char *); # 194 "/usr/include/sys/unistd.h" 2 3 4 #undef __UNISTD_GETOPT__ # 203 "/usr/include/sys/unistd.h" 3 4 pid_t __attribute__((__cdecl__)) vfork (void ); # 227 "/usr/include/sys/unistd.h" 3 4 int __attribute__((__cdecl__)) ftruncate (int __fd, off_t __length); int __attribute__((__cdecl__)) truncate (const char *, off_t __length); int __attribute__((__cdecl__)) getdtablesize (void); int __attribute__((__cdecl__)) setdtablesize (int); useconds_t __attribute__((__cdecl__)) ualarm (useconds_t __useconds, useconds_t __interval); int __attribute__((__cdecl__)) gethostname (char *__name, size_t __len); char * __attribute__((__cdecl__)) mktemp (char *); void __attribute__((__cdecl__)) sync (void); ssize_t __attribute__((__cdecl__)) readlink (const char *__path, char *__buf, size_t __buflen); ssize_t __attribute__((__cdecl__)) readlinkat (int __dirfd1, const char *__path, char *__buf, size_t __buflen); int __attribute__((__cdecl__)) symlink (const char *__name1, const char *__name2); int __attribute__((__cdecl__)) symlinkat (const char *, int, const char *); int __attribute__((__cdecl__)) unlinkat (int, const char *, int); #define F_OK 0 #define R_OK 4 #define W_OK 2 #define X_OK 1 #define SEEK_SET 0 #define SEEK_CUR 1 #define SEEK_END 2 #define STDIN_FILENO 0 #define STDOUT_FILENO 1 #define STDERR_FILENO 2 #define _SC_ARG_MAX 0 #define _SC_CHILD_MAX 1 #define _SC_CLK_TCK 2 #define _SC_NGROUPS_MAX 3 #define _SC_OPEN_MAX 4 #define _SC_JOB_CONTROL 5 #define _SC_SAVED_IDS 6 #define _SC_VERSION 7 #define _SC_PAGESIZE 8 #define _SC_PAGE_SIZE _SC_PAGESIZE #define _SC_NPROCESSORS_CONF 9 #define _SC_NPROCESSORS_ONLN 10 #define _SC_PHYS_PAGES 11 #define _SC_AVPHYS_PAGES 12 #define _SC_MQ_OPEN_MAX 13 #define _SC_MQ_PRIO_MAX 14 #define _SC_RTSIG_MAX 15 #define _SC_SEM_NSEMS_MAX 16 #define _SC_SEM_VALUE_MAX 17 #define _SC_SIGQUEUE_MAX 18 #define _SC_TIMER_MAX 19 #define _SC_TZNAME_MAX 20 #define _SC_ASYNCHRONOUS_IO 21 #define _SC_FSYNC 22 #define _SC_MAPPED_FILES 23 #define _SC_MEMLOCK 24 #define _SC_MEMLOCK_RANGE 25 #define _SC_MEMORY_PROTECTION 26 #define _SC_MESSAGE_PASSING 27 #define _SC_PRIORITIZED_IO 28 #define _SC_REALTIME_SIGNALS 29 #define _SC_SEMAPHORES 30 #define _SC_SHARED_MEMORY_OBJECTS 31 #define _SC_SYNCHRONIZED_IO 32 #define _SC_TIMERS 33 #define _SC_AIO_LISTIO_MAX 34 #define _SC_AIO_MAX 35 #define _SC_AIO_PRIO_DELTA_MAX 36 #define _SC_DELAYTIMER_MAX 37 #define _SC_THREAD_KEYS_MAX 38 #define _SC_THREAD_STACK_MIN 39 #define _SC_THREAD_THREADS_MAX 40 #define _SC_TTY_NAME_MAX 41 #define _SC_THREADS 42 #define _SC_THREAD_ATTR_STACKADDR 43 #define _SC_THREAD_ATTR_STACKSIZE 44 #define _SC_THREAD_PRIORITY_SCHEDULING 45 #define _SC_THREAD_PRIO_INHERIT 46 #define _SC_THREAD_PRIO_PROTECT 47 #define _SC_THREAD_PRIO_CEILING _SC_THREAD_PRIO_PROTECT #define _SC_THREAD_PROCESS_SHARED 48 #define _SC_THREAD_SAFE_FUNCTIONS 49 #define _SC_GETGR_R_SIZE_MAX 50 #define _SC_GETPW_R_SIZE_MAX 51 #define _SC_LOGIN_NAME_MAX 52 #define _SC_THREAD_DESTRUCTOR_ITERATIONS 53 #define _SC_ADVISORY_INFO 54 #define _SC_ATEXIT_MAX 55 #define _SC_BARRIERS 56 #define _SC_BC_BASE_MAX 57 #define _SC_BC_DIM_MAX 58 #define _SC_BC_SCALE_MAX 59 #define _SC_BC_STRING_MAX 60 #define _SC_CLOCK_SELECTION 61 #define _SC_COLL_WEIGHTS_MAX 62 #define _SC_CPUTIME 63 #define _SC_EXPR_NEST_MAX 64 #define _SC_HOST_NAME_MAX 65 #define _SC_IOV_MAX 66 #define _SC_IPV6 67 #define _SC_LINE_MAX 68 #define _SC_MONOTONIC_CLOCK 69 #define _SC_RAW_SOCKETS 70 #define _SC_READER_WRITER_LOCKS 71 #define _SC_REGEXP 72 #define _SC_RE_DUP_MAX 73 #define _SC_SHELL 74 #define _SC_SPAWN 75 #define _SC_SPIN_LOCKS 76 #define _SC_SPORADIC_SERVER 77 #define _SC_SS_REPL_MAX 78 #define _SC_SYMLOOP_MAX 79 #define _SC_THREAD_CPUTIME 80 #define _SC_THREAD_SPORADIC_SERVER 81 #define _SC_TIMEOUTS 82 #define _SC_TRACE 83 #define _SC_TRACE_EVENT_FILTER 84 #define _SC_TRACE_EVENT_NAME_MAX 85 #define _SC_TRACE_INHERIT 86 #define _SC_TRACE_LOG 87 #define _SC_TRACE_NAME_MAX 88 #define _SC_TRACE_SYS_MAX 89 #define _SC_TRACE_USER_EVENT_MAX 90 #define _SC_TYPED_MEMORY_OBJECTS 91 #define _SC_V7_ILP32_OFF32 92 #define _SC_V6_ILP32_OFF32 _SC_V7_ILP32_OFF32 #define _SC_XBS5_ILP32_OFF32 _SC_V7_ILP32_OFF32 #define _SC_V7_ILP32_OFFBIG 93 #define _SC_V6_ILP32_OFFBIG _SC_V7_ILP32_OFFBIG #define _SC_XBS5_ILP32_OFFBIG _SC_V7_ILP32_OFFBIG #define _SC_V7_LP64_OFF64 94 #define _SC_V6_LP64_OFF64 _SC_V7_LP64_OFF64 #define _SC_XBS5_LP64_OFF64 _SC_V7_LP64_OFF64 #define _SC_V7_LPBIG_OFFBIG 95 #define _SC_V6_LPBIG_OFFBIG _SC_V7_LPBIG_OFFBIG #define _SC_XBS5_LPBIG_OFFBIG _SC_V7_LPBIG_OFFBIG #define _SC_XOPEN_CRYPT 96 #define _SC_XOPEN_ENH_I18N 97 #define _SC_XOPEN_LEGACY 98 #define _SC_XOPEN_REALTIME 99 #define _SC_STREAM_MAX 100 #define _SC_PRIORITY_SCHEDULING 101 #define _SC_XOPEN_REALTIME_THREADS 102 #define _SC_XOPEN_SHM 103 #define _SC_XOPEN_STREAMS 104 #define _SC_XOPEN_UNIX 105 #define _SC_XOPEN_VERSION 106 #define _SC_2_CHAR_TERM 107 #define _SC_2_C_BIND 108 #define _SC_2_C_DEV 109 #define _SC_2_FORT_DEV 110 #define _SC_2_FORT_RUN 111 #define _SC_2_LOCALEDEF 112 #define _SC_2_PBS 113 #define _SC_2_PBS_ACCOUNTING 114 #define _SC_2_PBS_CHECKPOINT 115 #define _SC_2_PBS_LOCATE 116 #define _SC_2_PBS_MESSAGE 117 #define _SC_2_PBS_TRACK 118 #define _SC_2_SW_DEV 119 #define _SC_2_UPE 120 #define _SC_2_VERSION 121 #define _SC_THREAD_ROBUST_PRIO_INHERIT 122 #define _SC_THREAD_ROBUST_PRIO_PROTECT 123 #define _SC_XOPEN_UUCP 124 #define _PC_LINK_MAX 0 #define _PC_MAX_CANON 1 #define _PC_MAX_INPUT 2 #define _PC_NAME_MAX 3 #define _PC_PATH_MAX 4 #define _PC_PIPE_BUF 5 #define _PC_CHOWN_RESTRICTED 6 #define _PC_NO_TRUNC 7 #define _PC_VDISABLE 8 #define _PC_ASYNC_IO 9 #define _PC_PRIO_IO 10 #define _PC_SYNC_IO 11 #define _PC_FILESIZEBITS 12 #define _PC_2_SYMLINKS 13 #define _PC_SYMLINK_MAX 14 #define _PC_ALLOC_SIZE_MIN 15 #define _PC_REC_INCR_XFER_SIZE 16 #define _PC_REC_MAX_XFER_SIZE 17 #define _PC_REC_MIN_XFER_SIZE 18 #define _PC_REC_XFER_ALIGN 19 #define _PC_TIMESTAMP_RESOLUTION 20 #define _PC_POSIX_PERMISSIONS 90 #define _PC_POSIX_SECURITY 91 #define _CS_PATH 0 #define _CS_POSIX_V7_ILP32_OFF32_CFLAGS 1 #define _CS_POSIX_V6_ILP32_OFF32_CFLAGS _CS_POSIX_V7_ILP32_OFF32_CFLAGS #define _CS_XBS5_ILP32_OFF32_CFLAGS _CS_POSIX_V7_ILP32_OFF32_CFLAGS #define _CS_POSIX_V7_ILP32_OFF32_LDFLAGS 2 #define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS _CS_POSIX_V7_ILP32_OFF32_LDFLAGS #define _CS_XBS5_ILP32_OFF32_LDFLAGS _CS_POSIX_V7_ILP32_OFF32_LDFLAGS #define _CS_POSIX_V7_ILP32_OFF32_LIBS 3 #define _CS_POSIX_V6_ILP32_OFF32_LIBS _CS_POSIX_V7_ILP32_OFF32_LIBS #define _CS_XBS5_ILP32_OFF32_LIBS _CS_POSIX_V7_ILP32_OFF32_LIBS #define _CS_XBS5_ILP32_OFF32_LINTFLAGS 4 #define _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS 5 #define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS #define _CS_XBS5_ILP32_OFFBIG_CFLAGS _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS #define _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS 6 #define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS #define _CS_XBS5_ILP32_OFFBIG_LDFLAGS _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS #define _CS_POSIX_V7_ILP32_OFFBIG_LIBS 7 #define _CS_POSIX_V6_ILP32_OFFBIG_LIBS _CS_POSIX_V7_ILP32_OFFBIG_LIBS #define _CS_XBS5_ILP32_OFFBIG_LIBS _CS_POSIX_V7_ILP32_OFFBIG_LIBS #define _CS_XBS5_ILP32_OFFBIG_LINTFLAGS 8 #define _CS_POSIX_V7_LP64_OFF64_CFLAGS 9 #define _CS_POSIX_V6_LP64_OFF64_CFLAGS _CS_POSIX_V7_LP64_OFF64_CFLAGS #define _CS_XBS5_LP64_OFF64_CFLAGS _CS_POSIX_V7_LP64_OFF64_CFLAGS #define _CS_POSIX_V7_LP64_OFF64_LDFLAGS 10 #define _CS_POSIX_V6_LP64_OFF64_LDFLAGS _CS_POSIX_V7_LP64_OFF64_LDFLAGS #define _CS_XBS5_LP64_OFF64_LDFLAGS _CS_POSIX_V7_LP64_OFF64_LDFLAGS #define _CS_POSIX_V7_LP64_OFF64_LIBS 11 #define _CS_POSIX_V6_LP64_OFF64_LIBS _CS_POSIX_V7_LP64_OFF64_LIBS #define _CS_XBS5_LP64_OFF64_LIBS _CS_POSIX_V7_LP64_OFF64_LIBS #define _CS_XBS5_LP64_OFF64_LINTFLAGS 12 #define _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS 13 #define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS #define _CS_XBS5_LPBIG_OFFBIG_CFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS #define _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS 14 #define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS #define _CS_XBS5_LPBIG_OFFBIG_LDFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS #define _CS_POSIX_V7_LPBIG_OFFBIG_LIBS 15 #define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS _CS_POSIX_V7_LPBIG_OFFBIG_LIBS #define _CS_XBS5_LPBIG_OFFBIG_LIBS _CS_POSIX_V7_LPBIG_OFFBIG_LIBS #define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS 16 #define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS 17 #define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS #define _CS_XBS5_WIDTH_RESTRICTED_ENVS _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS #define _CS_POSIX_V7_THREADS_CFLAGS 18 #define _CS_POSIX_V7_THREADS_LDFLAGS 19 #define _CS_V7_ENV 20 #define _CS_V6_ENV _CS_V7_ENV # 5 "/usr/include/unistd.h" 2 3 4 # 37 "./Include/Python.h" 2 # 48 "./Include/Python.h" # 1 "/usr/include/assert.h" 1 3 4 # 11 "/usr/include/assert.h" 3 4 #undef assert #define assert(__e) ((void)0) # 39 "/usr/include/assert.h" 3 4 void __attribute__((__cdecl__)) __assert (const char *, int, const char *) __attribute__ ((__noreturn__)) ; void __attribute__((__cdecl__)) __assert_func (const char *, int, const char *, const char *) __attribute__ ((__noreturn__)) ; # 49 "./Include/Python.h" 2 # 1 "./Include/pyport.h" 1 #define Py_PYPORT_H # 1 "/usr/include/inttypes.h" 1 3 4 # 12 "/usr/include/inttypes.h" 3 4 #define _INTTYPES_H #define __need_wchar_t # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 160 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 233 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_size_t # 342 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_wchar_t # 395 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 17 "/usr/include/inttypes.h" 2 3 4 # 28 "/usr/include/inttypes.h" 3 4 #define __PRI64 "ll" #define __PRIFAST #define __PRIPTR #define PRId8 "d" #define PRId16 "d" #define PRId32 "d" #define PRId64 __PRI64 "d" #define PRIdLEAST8 "d" #define PRIdLEAST16 "d" #define PRIdLEAST32 "d" #define PRIdLEAST64 __PRI64 "d" #define PRIdFAST8 "d" #define PRIdFAST16 __PRIFAST "d" #define PRIdFAST32 __PRIFAST "d" #define PRIdFAST64 __PRI64 "d" #define PRIdMAX __PRI64 "d" #define PRIdPTR __PRIPTR "d" #define PRIi8 "i" #define PRIi16 "i" #define PRIi32 "i" #define PRIi64 __PRI64 "i" #define PRIiLEAST8 "i" #define PRIiLEAST16 "i" #define PRIiLEAST32 "i" #define PRIiLEAST64 __PRI64 "i" #define PRIiFAST8 "i" #define PRIiFAST16 __PRIFAST "i" #define PRIiFAST32 __PRIFAST "i" #define PRIiFAST64 __PRI64 "i" #define PRIiMAX __PRI64 "i" #define PRIiPTR __PRIPTR "i" #define PRIo8 "o" #define PRIo16 "o" #define PRIo32 "o" #define PRIo64 __PRI64 "o" #define PRIoLEAST8 "o" #define PRIoLEAST16 "o" #define PRIoLEAST32 "o" #define PRIoLEAST64 __PRI64 "o" #define PRIoFAST8 "o" #define PRIoFAST16 __PRIFAST "o" #define PRIoFAST32 __PRIFAST "o" #define PRIoFAST64 __PRI64 "o" #define PRIoMAX __PRI64 "o" #define PRIoPTR __PRIPTR "o" #define PRIu8 "u" #define PRIu16 "u" #define PRIu32 "u" #define PRIu64 __PRI64 "u" #define PRIuLEAST8 "u" #define PRIuLEAST16 "u" #define PRIuLEAST32 "u" #define PRIuLEAST64 __PRI64 "u" #define PRIuFAST8 "u" #define PRIuFAST16 __PRIFAST "u" #define PRIuFAST32 __PRIFAST "u" #define PRIuFAST64 __PRI64 "u" #define PRIuMAX __PRI64 "u" #define PRIuPTR __PRIPTR "u" #define PRIx8 "x" #define PRIx16 "x" #define PRIx32 "x" #define PRIx64 __PRI64 "x" #define PRIxLEAST8 "x" #define PRIxLEAST16 "x" #define PRIxLEAST32 "x" #define PRIxLEAST64 __PRI64 "x" #define PRIxFAST8 "x" #define PRIxFAST16 __PRIFAST "x" #define PRIxFAST32 __PRIFAST "x" #define PRIxFAST64 __PRI64 "x" #define PRIxMAX __PRI64 "x" #define PRIxPTR __PRIPTR "x" #define PRIX8 "X" #define PRIX16 "X" #define PRIX32 "X" #define PRIX64 __PRI64 "X" #define PRIXLEAST8 "X" #define PRIXLEAST16 "X" #define PRIXLEAST32 "X" #define PRIXLEAST64 __PRI64 "X" #define PRIXFAST8 "X" #define PRIXFAST16 __PRIFAST "X" #define PRIXFAST32 __PRIFAST "X" #define PRIXFAST64 __PRI64 "X" #define PRIXMAX __PRI64 "X" #define PRIXPTR __PRIPTR "X" # 152 "/usr/include/inttypes.h" 3 4 #define __SCN64 "ll" #define __SCNFAST #define __SCNPTR #define SCNd8 "hhd" #define SCNd16 "hd" #define SCNd32 "d" #define SCNd64 __SCN64 "d" #define SCNdLEAST8 "hhd" #define SCNdLEAST16 "hd" #define SCNdLEAST32 "d" #define SCNdLEAST64 __SCN64 "d" #define SCNdFAST8 "hhd" #define SCNdFAST16 __SCNFAST "d" #define SCNdFAST32 __SCNFAST "d" #define SCNdFAST64 __SCN64 "d" #define SCNdMAX __SCN64 "d" #define SCNdPTR __SCNPTR "d" #define SCNi8 "hhi" #define SCNi16 "hi" #define SCNi32 "i" #define SCNi64 __SCN64 "i" #define SCNiLEAST8 "hhi" #define SCNiLEAST16 "hi" #define SCNiLEAST32 "i" #define SCNiLEAST64 __SCN64 "i" #define SCNiFAST8 "hhi" #define SCNiFAST16 __SCNFAST "i" #define SCNiFAST32 __SCNFAST "i" #define SCNiFAST64 __SCN64 "i" #define SCNiMAX __SCN64 "i" #define SCNiPTR __SCNPTR "i" #define SCNo8 "hho" #define SCNo16 "ho" #define SCNo32 "o" #define SCNo64 __SCN64 "o" #define SCNoLEAST8 "hho" #define SCNoLEAST16 "ho" #define SCNoLEAST32 "o" #define SCNoLEAST64 __SCN64 "o" #define SCNoFAST8 "hho" #define SCNoFAST16 __SCNFAST "o" #define SCNoFAST32 __SCNFAST "o" #define SCNoFAST64 __SCN64 "o" #define SCNoMAX __SCN64 "o" #define SCNoPTR __SCNPTR "o" #define SCNu8 "hhu" #define SCNu16 "hu" #define SCNu32 "u" #define SCNu64 __SCN64 "u" #define SCNuLEAST8 "hhu" #define SCNuLEAST16 "hu" #define SCNuLEAST32 "u" #define SCNuLEAST64 __SCN64 "u" #define SCNuFAST8 "hhu" #define SCNuFAST16 __SCNFAST "u" #define SCNuFAST32 __SCNFAST "u" #define SCNuFAST64 __SCN64 "u" #define SCNuMAX __SCN64 "u" #define SCNuPTR __SCNPTR "u" #define SCNx8 "hhx" #define SCNx16 "hx" #define SCNx32 "x" #define SCNx64 __SCN64 "x" #define SCNxLEAST8 "hhx" #define SCNxLEAST16 "hx" #define SCNxLEAST32 "x" #define SCNxLEAST64 __SCN64 "x" #define SCNxFAST8 "hhx" #define SCNxFAST16 __SCNFAST "x" #define SCNxFAST32 __SCNFAST "x" #define SCNxFAST64 __SCN64 "x" #define SCNxMAX __SCN64 "x" #define SCNxPTR __SCNPTR "x" # 257 "/usr/include/inttypes.h" 3 4 typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; intmax_t __attribute__((__cdecl__)) imaxabs (intmax_t); imaxdiv_t __attribute__((__cdecl__)) imaxdiv (intmax_t, intmax_t); intmax_t __attribute__((__cdecl__)) strtoimax (const char *, char **, int); uintmax_t __attribute__((__cdecl__)) strtoumax (const char *, char **, int); intmax_t __attribute__((__cdecl__)) wcstoimax (const wchar_t *, wchar_t **, int); uintmax_t __attribute__((__cdecl__)) wcstoumax (const wchar_t *, wchar_t **, int); # 10 "./Include/pyport.h" 2 # 58 "./Include/pyport.h" #define PY_LONG_LONG long long #define PY_LLONG_MIN LLONG_MIN #define PY_LLONG_MAX LLONG_MAX #define PY_ULLONG_MAX ULLONG_MAX # 96 "./Include/pyport.h" #define PY_UINT32_T uint32_t # 109 "./Include/pyport.h" #define PY_UINT64_T uint64_t # 120 "./Include/pyport.h" #define PY_INT32_T int32_t # 130 "./Include/pyport.h" #define PY_INT64_T int64_t # 143 "./Include/pyport.h" #define PYLONG_BITS_IN_DIGIT 15 #define _PyHASH_MULTIPLIER 1000003UL # 157 "./Include/pyport.h" #define _PyHASH_BITS 31 #define _PyHASH_MODULUS (((size_t)1 << _PyHASH_BITS) - 1) #define _PyHASH_INF 314159 #define _PyHASH_NAN 0 #define _PyHASH_IMAG _PyHASH_MULTIPLIER typedef uintptr_t Py_uintptr_t; typedef intptr_t Py_intptr_t; # 194 "./Include/pyport.h" typedef ssize_t Py_ssize_t; typedef Py_ssize_t Py_hash_t; typedef size_t Py_uhash_t; #define PY_SIZE_MAX SIZE_MAX #define PY_SSIZE_T_MAX ((Py_ssize_t)(((size_t)-1)>>1)) #define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1) # 306 "./Include/pyport.h" #define Py_LOCAL(type) static type #define Py_LOCAL_INLINE(type) static inline type # 331 "./Include/pyport.h" #define Py_MEMCPY memcpy # 1 "/usr/include/ieeefp.h" 1 3 4 #define _IEEE_FP_H_ # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 7 "/usr/include/ieeefp.h" 2 3 4 # 53 "/usr/include/ieeefp.h" 3 4 typedef union { double value; struct { unsigned int fraction1:32; unsigned int fraction0:20; unsigned int exponent :11; unsigned int sign : 1; } number; struct { unsigned int function1:32; unsigned int function0:19; unsigned int quiet:1; unsigned int exponent: 11; unsigned int sign : 1; } nan; struct { unsigned long lsw; unsigned long msw; } parts; long aslong[2]; } __ieee_double_shape_type; # 125 "/usr/include/ieeefp.h" 3 4 typedef union { float value; struct { unsigned int fraction0: 7; unsigned int fraction1: 16; unsigned int exponent: 8; unsigned int sign : 1; } number; struct { unsigned int function1:16; unsigned int function0:6; unsigned int quiet:1; unsigned int exponent:8; unsigned int sign:1; } nan; long p1; } __ieee_float_shape_type; # 155 "/usr/include/ieeefp.h" 3 4 typedef int fp_rnd; #define FP_RN 0 #define FP_RM 1 #define FP_RP 2 #define FP_RZ 3 fp_rnd __attribute__((__cdecl__)) fpgetround (void); fp_rnd __attribute__((__cdecl__)) fpsetround (fp_rnd); typedef int fp_except; #define FP_X_INV 0x10 #define FP_X_DX 0x80 #define FP_X_OFL 0x04 #define FP_X_UFL 0x02 #define FP_X_IMP 0x01 fp_except __attribute__((__cdecl__)) fpgetmask (void); fp_except __attribute__((__cdecl__)) fpsetmask (fp_except); fp_except __attribute__((__cdecl__)) fpgetsticky (void); fp_except __attribute__((__cdecl__)) fpsetsticky (fp_except); typedef int fp_rdi; #define FP_RDI_TOZ 0 #define FP_RDI_RD 1 fp_rdi __attribute__((__cdecl__)) fpgetroundtoi (void); fp_rdi __attribute__((__cdecl__)) fpsetroundtoi (fp_rdi); #undef isnan #undef isinf int __attribute__((__cdecl__)) isnan (double); int __attribute__((__cdecl__)) isinf (double); int __attribute__((__cdecl__)) finite (double); int __attribute__((__cdecl__)) isnanf (float); int __attribute__((__cdecl__)) isinff (float); int __attribute__((__cdecl__)) finitef (float); #define __IEEE_DBL_EXPBIAS 1023 #define __IEEE_FLT_EXPBIAS 127 #define __IEEE_DBL_EXPLEN 11 #define __IEEE_FLT_EXPLEN 8 #define __IEEE_DBL_FRACLEN (64 - (__IEEE_DBL_EXPLEN + 1)) #define __IEEE_FLT_FRACLEN (32 - (__IEEE_FLT_EXPLEN + 1)) #define __IEEE_DBL_MAXPOWTWO ((double)(1L << 32 - 2) * (1L << (32-11) - 32 + 1)) #define __IEEE_FLT_MAXPOWTWO ((float)(1L << (32-8) - 1)) #define __IEEE_DBL_NAN_EXP 0x7ff #define __IEEE_FLT_NAN_EXP 0xff #define __ieeefp_isnanf(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && ((*(long *)&(x) & 0x007fffffL)!=0000000000L)) #define isnanf(x) __ieeefp_isnanf(x) #define __ieeefp_isinff(x) (((*(long *)&(x) & 0x7f800000L)==0x7f800000L) && ((*(long *)&(x) & 0x007fffffL)==0000000000L)) #define isinff(x) __ieeefp_isinff(x) #define __ieeefp_finitef(x) (((*(long *)&(x) & 0x7f800000L)!=0x7f800000L)) #define finitef(x) __ieeefp_finitef(x) # 254 "/usr/include/ieeefp.h" 3 4 # 338 "./Include/pyport.h" 2 # 1 "/usr/include/math.h" 1 3 4 #define _MATH_H_ # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 7 "/usr/include/math.h" 2 3 4 union __dmath { double d; __ULong i[2]; }; union __fmath { float f; __ULong i[1]; }; union __ldmath { long double ld; __ULong i[4]; }; #define _M_LN2 0.693147180559945309417 #define HUGE_VAL (__builtin_huge_val()) #define HUGE_VALF (__builtin_huge_valf()) #define HUGE_VALL (__builtin_huge_vall()) #define INFINITY (__builtin_inff()) #define NAN (__builtin_nanf("")) # 108 "/usr/include/math.h" 3 4 extern double atan (double); extern double cos (double); extern double sin (double); extern double tan (double); extern double tanh (double); extern double frexp (double, int *); extern double modf (double, double *); extern double ceil (double); extern double fabs (double); extern double floor (double); extern double acos (double); extern double asin (double); extern double atan2 (double, double); extern double cosh (double); extern double sinh (double); extern double exp (double); extern double ldexp (double, int); extern double log (double); extern double log10 (double); extern double pow (double, double); extern double sqrt (double); extern double fmod (double, double); # 144 "/usr/include/math.h" 3 4 #define FLT_EVAL_METHOD 0 typedef float float_t; typedef double double_t; #define FP_NAN 0 #define FP_INFINITE 1 #define FP_ZERO 2 #define FP_SUBNORMAL 3 #define FP_NORMAL 4 #define FP_ILOGB0 (-INT_MAX) #define FP_ILOGBNAN INT_MAX #define MATH_ERRNO 1 #define MATH_ERREXCEPT 2 #define math_errhandling MATH_ERRNO extern int __isinff (float x); extern int __isinfd (double x); extern int __isnanf (float x); extern int __isnand (double x); extern int __fpclassifyf (float x); extern int __fpclassifyd (double x); extern int __signbitf (float x); extern int __signbitd (double x); #define fpclassify(__x) ((sizeof(__x) == sizeof(float)) ? __fpclassifyf(__x) : __fpclassifyd(__x)) #define isfinite(__y) (__extension__ ({int __cy = fpclassify(__y); __cy != FP_INFINITE && __cy != FP_NAN;})) # 198 "/usr/include/math.h" 3 4 #define isinf(y) (fpclassify(y) == FP_INFINITE) #define isnan(y) (fpclassify(y) == FP_NAN) #define isnormal(y) (fpclassify(y) == FP_NORMAL) #define signbit(__x) ((sizeof(__x) == sizeof(float)) ? __signbitf(__x) : __signbitd(__x)) #define isgreater(x,y) (__extension__ ({__typeof__(x) __x = (x); __typeof__(y) __y = (y); !isunordered(__x,__y) && (__x > __y);})) #define isgreaterequal(x,y) (__extension__ ({__typeof__(x) __x = (x); __typeof__(y) __y = (y); !isunordered(__x,__y) && (__x >= __y);})) #define isless(x,y) (__extension__ ({__typeof__(x) __x = (x); __typeof__(y) __y = (y); !isunordered(__x,__y) && (__x < __y);})) #define islessequal(x,y) (__extension__ ({__typeof__(x) __x = (x); __typeof__(y) __y = (y); !isunordered(__x,__y) && (__x <= __y);})) #define islessgreater(x,y) (__extension__ ({__typeof__(x) __x = (x); __typeof__(y) __y = (y); !isunordered(__x,__y) && (__x < __y || __x > __y);})) #define isunordered(a,b) (__extension__ ({__typeof__(a) __a = (a); __typeof__(b) __b = (b); fpclassify(__a) == FP_NAN || fpclassify(__b) == FP_NAN;})) extern double infinity (void); extern double nan (const char *); extern int finite (double); extern double copysign (double, double); extern double logb (double); extern int ilogb (double); extern double asinh (double); extern double cbrt (double); extern double nextafter (double, double); extern double rint (double); extern double scalbn (double, int); extern double exp2 (double); extern double scalbln (double, long int); extern double tgamma (double); extern double nearbyint (double); extern long int lrint (double); extern long long int llrint (double); extern double round (double); extern long int lround (double); extern long long int llround (double); extern double trunc (double); extern double remquo (double, double, int *); extern double fdim (double, double); extern double fmax (double, double); extern double fmin (double, double); extern double fma (double, double, double); extern double log1p (double); extern double expm1 (double); extern double acosh (double); extern double atanh (double); extern double remainder (double, double); extern double gamma (double); extern double lgamma (double); extern double erf (double); extern double erfc (double); extern double log2 (double); #define log2(x) (log (x) / _M_LN2) extern double hypot (double, double); extern float atanf (float); extern float cosf (float); extern float sinf (float); extern float tanf (float); extern float tanhf (float); extern float frexpf (float, int *); extern float modff (float, float *); extern float ceilf (float); extern float fabsf (float); extern float floorf (float); extern float acosf (float); extern float asinf (float); extern float atan2f (float, float); extern float coshf (float); extern float sinhf (float); extern float expf (float); extern float ldexpf (float, int); extern float logf (float); extern float log10f (float); extern float powf (float, float); extern float sqrtf (float); extern float fmodf (float, float); extern float exp2f (float); extern float scalblnf (float, long int); extern float tgammaf (float); extern float nearbyintf (float); extern long int lrintf (float); extern long long llrintf (float); extern float roundf (float); extern long int lroundf (float); extern long long int llroundf (float); extern float truncf (float); extern float remquof (float, float, int *); extern float fdimf (float, float); extern float fmaxf (float, float); extern float fminf (float, float); extern float fmaf (float, float, float); extern float infinityf (void); extern float nanf (const char *); extern int finitef (float); extern float copysignf (float, float); extern float logbf (float); extern int ilogbf (float); extern float asinhf (float); extern float cbrtf (float); extern float nextafterf (float, float); extern float rintf (float); extern float scalbnf (float, int); extern float log1pf (float); extern float expm1f (float); extern float acoshf (float); extern float atanhf (float); extern float remainderf (float, float); extern float gammaf (float); extern float lgammaf (float); extern float erff (float); extern float erfcf (float); extern float log2f (float); #define log2f(x) (logf (x) / (float_t) _M_LN2) extern float hypotf (float, float); # 430 "/usr/include/math.h" 3 4 extern long double rintl (long double); extern long int lrintl (long double); extern long long llrintl (long double); extern double drem (double, double); extern void sincos (double, double *, double *); extern double gamma_r (double, int *); extern double lgamma_r (double, int *); extern double y0 (double); extern double y1 (double); extern double yn (int, double); extern double j0 (double); extern double j1 (double); extern double jn (int, double); extern float dremf (float, float); extern void sincosf (float, float *, float *); extern float gammaf_r (float, int *); extern float lgammaf_r (float, int *); extern float y0f (float); extern float y1f (float); extern float ynf (int, float); extern float j0f (float); extern float j1f (float); extern float jnf (int, float); extern double exp10 (double); extern double pow10 (double); extern float exp10f (float); extern float pow10f (float); # 484 "/usr/include/math.h" 3 4 #define signgam (*__signgam()) extern int *__signgam (void); #define __signgam_r(ptr) _REENT_SIGNGAM(ptr) struct exception { int type; char *name; double arg1; double arg2; double retval; int err; }; extern int matherr (struct exception *e); #define DOMAIN 1 #define SING 2 #define OVERFLOW 3 #define UNDERFLOW 4 #define TLOSS 5 #define PLOSS 6 #define MAXFLOAT 3.40282347e+38F #define M_E 2.7182818284590452354 #define M_LOG2E 1.4426950408889634074 #define M_LOG10E 0.43429448190325182765 #define M_LN2 _M_LN2 #define M_LN10 2.30258509299404568402 #define M_PI 3.14159265358979323846 #define M_TWOPI (M_PI * 2.0) #define M_PI_2 1.57079632679489661923 #define M_PI_4 0.78539816339744830962 #define M_3PI_4 2.3561944901923448370E0 #define M_SQRTPI 1.77245385090551602792981 #define M_1_PI 0.31830988618379067154 #define M_2_PI 0.63661977236758134308 #define M_2_SQRTPI 1.12837916709551257390 #define M_SQRT2 1.41421356237309504880 #define M_SQRT1_2 0.70710678118654752440 #define M_LN2LO 1.9082149292705877000E-10 #define M_LN2HI 6.9314718036912381649E-1 #define M_SQRT3 1.73205080756887719000 #define M_IVLN10 0.43429448190325182765 #define M_LOG2_E _M_LN2 #define M_INVLN2 1.4426950408889633870E0 enum __fdlibm_version { __fdlibm_ieee = -1, __fdlibm_svid, __fdlibm_xopen, __fdlibm_posix }; #define _LIB_VERSION_TYPE enum __fdlibm_version #define _LIB_VERSION __fdlib_version extern __attribute__((dllimport)) enum __fdlibm_version __fdlib_version; #define _IEEE_ __fdlibm_ieee #define _SVID_ __fdlibm_svid #define _XOPEN_ __fdlibm_xopen #define _POSIX_ __fdlibm_posix # 341 "./Include/pyport.h" 2 # 1 "/usr/include/sys/time.h" 1 3 4 #define _SYS_TIME_H_ # 16 "/usr/include/sys/time.h" 3 4 #define _TIMEVAL_DEFINED struct timeval { time_t tv_sec; suseconds_t tv_usec; }; struct timezone { int tz_minuteswest; int tz_dsttime; }; # 1 "/usr/include/cygwin/sys_time.h" 1 3 4 # 12 "/usr/include/cygwin/sys_time.h" 3 4 #define _CYGWIN_SYS_TIME_H # 1 "/usr/include/sys/select.h" 1 3 4 # 13 "/usr/include/sys/select.h" 3 4 #define _SYS_SELECT_H # 23 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/sys/time.h" 1 3 4 # 24 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 #define _TIME_H_ # 18 "/usr/include/time.h" 3 4 # 1 "/usr/include/machine/time.h" 1 3 4 #define _MACHTIME_H_ # 19 "/usr/include/time.h" 2 3 4 #define _CLOCKS_PER_SEC_ 1000 #define CLOCKS_PER_SEC _CLOCKS_PER_SEC_ #define CLK_TCK CLOCKS_PER_SEC #define __need_size_t # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 160 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 233 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_size_t # 342 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_wchar_t # 395 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 28 "/usr/include/time.h" 2 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) clock (void); double __attribute__((__cdecl__)) difftime (time_t _time2, time_t _time1); time_t __attribute__((__cdecl__)) mktime (struct tm *_timeptr); time_t __attribute__((__cdecl__)) time (time_t *_timer); char *__attribute__((__cdecl__)) asctime (const struct tm *_tblock); char *__attribute__((__cdecl__)) ctime (const time_t *_time); struct tm *__attribute__((__cdecl__)) gmtime (const time_t *_timer); struct tm *__attribute__((__cdecl__)) localtime (const time_t *_timer); size_t __attribute__((__cdecl__)) strftime (char *_s, size_t _maxsize, const char *_fmt, const struct tm *_t); char *__attribute__((__cdecl__)) asctime_r (const struct tm *, char *); char *__attribute__((__cdecl__)) ctime_r (const time_t *, char *); struct tm *__attribute__((__cdecl__)) gmtime_r (const time_t *, struct tm *); struct tm *__attribute__((__cdecl__)) localtime_r (const time_t *, struct tm *); char *__attribute__((__cdecl__)) strptime (const char *, const char *, struct tm *); void __attribute__((__cdecl__)) tzset (void); void __attribute__((__cdecl__)) _tzset_r (struct _reent *); typedef struct __tzrule_struct { char ch; int m; int n; int d; int s; time_t change; long offset; } __tzrule_type; typedef struct __tzinfo_struct { int __tznorth; int __tzyear; __tzrule_type __tzrule[2]; } __tzinfo_type; __tzinfo_type *__attribute__((__cdecl__)) __gettzinfo (void); # 118 "/usr/include/time.h" 3 4 extern __attribute__((dllimport)) long _timezone; extern __attribute__((dllimport)) int _daylight; extern __attribute__((dllimport)) char *_tzname[2]; #define tzname _tzname # 135 "/usr/include/time.h" 3 4 # 1 "/usr/include/cygwin/time.h" 1 3 4 # 12 "/usr/include/cygwin/time.h" 3 4 #define _CYGWIN_TIME_H int __attribute__((__cdecl__)) clock_setres (clockid_t, struct timespec *); time_t __attribute__((__cdecl__)) timelocal (struct tm *); time_t __attribute__((__cdecl__)) timegm (struct tm *); #define TIMER_RELTIME 0 extern int daylight __asm__ ("__daylight"); extern long timezone __asm__ ("__timezone"); # 136 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/signal.h" 1 3 4 #define _SIGNAL_H_ # 1 "/usr/include/sys/signal.h" 1 3 4 #define _SYS_SIGNAL_H # 15 "/usr/include/sys/signal.h" 3 4 typedef unsigned long sigset_t; # 105 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/cygwin/signal.h" 1 3 4 # 12 "/usr/include/cygwin/signal.h" 3 4 #define _CYGWIN_SIGNAL_H struct _fpstate { unsigned long cw; unsigned long sw; unsigned long tag; unsigned long ipoff; unsigned long cssel; unsigned long dataoff; unsigned long datasel; unsigned char _st[80]; unsigned long nxst; }; struct ucontext { unsigned long cr2; unsigned long dr0; unsigned long dr1; unsigned long dr2; unsigned long dr3; unsigned long dr6; unsigned long dr7; struct _fpstate fpstate; unsigned long gs; unsigned long fs; unsigned long es; unsigned long ds; unsigned long edi; unsigned long esi; unsigned long ebx; unsigned long edx; unsigned long ecx; unsigned long eax; unsigned long ebp; unsigned long eip; unsigned long cs; unsigned long eflags; unsigned long esp; unsigned long ss; unsigned char _internal; unsigned long oldmask; }; #define __COPY_CONTEXT_SIZE ((unsigned) &((struct ucontext *) 0)->_internal) typedef union sigval { int sival_int; void *sival_ptr; } sigval_t; typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; void (*sigev_notify_function) (sigval_t); pthread_attr_t *sigev_notify_attributes; } sigevent_t; #pragma pack(push,4) struct _sigcommune { __uint32_t _si_code; void *_si_read_handle; void *_si_write_handle; void *_si_process_handle; __extension__ union { int _si_fd; void *_si_pipe_fhandler; char *_si_str; }; }; typedef struct { int si_signo; int si_code; pid_t si_pid; uid_t si_uid; int si_errno; __extension__ union { __uint32_t __pad[32]; struct _sigcommune _si_commune; __extension__ union { struct { union { struct { timer_t si_tid; unsigned int si_overrun; }; sigval_t si_sigval; sigval_t si_value; }; }; }; __extension__ struct { int si_status; clock_t si_utime; clock_t si_stime; }; void *si_addr; }; } siginfo_t; #pragma pack(pop) enum { SI_USER = 0, SI_ASYNCIO = 2, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_KERNEL, ILL_ILLOPC, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK, FPE_INTDIV, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB, SEGV_MAPERR, SEGV_ACCERR, BUS_ADRALN, BUS_ADRERR, BUS_OBJERR, CLD_EXITED, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD }; typedef void (*_sig_func_ptr)(int); struct sigaction { __extension__ union { _sig_func_ptr sa_handler; void (*sa_sigaction) ( int, siginfo_t *, void * ); }; sigset_t sa_mask; int sa_flags; }; #define SA_NOCLDSTOP 1 #define SA_SIGINFO 2 #define SA_RESTART 0x10000000 #define SA_NODEFER 0x40000000 #define SA_RESETHAND 0x80000000 #define SA_ONESHOT SA_RESETHAND #define SA_NOMASK SA_NODEFER #define _SA_INTERNAL_MASK 0xf000 #define SIGHUP 1 #define SIGINT 2 #define SIGQUIT 3 #define SIGILL 4 #define SIGTRAP 5 #define SIGABRT 6 #define SIGEMT 7 #define SIGFPE 8 #define SIGKILL 9 #define SIGBUS 10 #define SIGSEGV 11 #define SIGSYS 12 #define SIGPIPE 13 #define SIGALRM 14 #define SIGTERM 15 #define SIGURG 16 #define SIGSTOP 17 #define SIGTSTP 18 #define SIGCONT 19 #define SIGCHLD 20 #define SIGCLD 20 #define SIGTTIN 21 #define SIGTTOU 22 #define SIGIO 23 #define SIGPOLL SIGIO #define SIGXCPU 24 #define SIGXFSZ 25 #define SIGVTALRM 26 #define SIGPROF 27 #define SIGWINCH 28 #define SIGLOST 29 #define SIGPWR SIGLOST #define SIGUSR1 30 #define SIGUSR2 31 #define SIGRTMIN 32 #define SIGRTMAX ((SIGRTMIN) + 0) #define NSIG 33 #define SIG_HOLD ((_sig_func_ptr)2) void psiginfo (const siginfo_t *, const char *); int sigwait (const sigset_t *, int *); int sigwaitinfo (const sigset_t *, siginfo_t *); int sighold (int); int sigignore (int); int sigrelse (int); _sig_func_ptr sigset (int, _sig_func_ptr); int sigqueue(pid_t, int, const union sigval); int siginterrupt (int, int); extern const char __attribute__((dllimport)) *sys_sigabbrev[]; extern const char __attribute__((dllimport)) *sys_siglist[]; # 106 "/usr/include/sys/signal.h" 2 3 4 # 119 "/usr/include/sys/signal.h" 3 4 #define SIG_SETMASK 0 #define SIG_BLOCK 1 #define SIG_UNBLOCK 2 #define sigaddset(what,sig) (*(what) |= (1<<(sig)), 0) #define sigdelset(what,sig) (*(what) &= ~(1<<(sig)), 0) #define sigemptyset(what) (*(what) = 0, 0) #define sigfillset(what) (*(what) = ~(0), 0) #define sigismember(what,sig) (((*(what)) & (1<<(sig))) != 0) int __attribute__((__cdecl__)) sigprocmask (int how, const sigset_t *set, sigset_t *oset); int __attribute__((__cdecl__)) pthread_sigmask (int how, const sigset_t *set, sigset_t *oset); #undef sigaddset #undef sigdelset #undef sigemptyset #undef sigfillset #undef sigismember int __attribute__((__cdecl__)) kill (pid_t, int); int __attribute__((__cdecl__)) killpg (pid_t, int); int __attribute__((__cdecl__)) sigaction (int, const struct sigaction *, struct sigaction *); int __attribute__((__cdecl__)) sigaddset (sigset_t *, const int); int __attribute__((__cdecl__)) sigdelset (sigset_t *, const int); int __attribute__((__cdecl__)) sigismember (const sigset_t *, int); int __attribute__((__cdecl__)) sigfillset (sigset_t *); int __attribute__((__cdecl__)) sigemptyset (sigset_t *); int __attribute__((__cdecl__)) sigpending (sigset_t *); int __attribute__((__cdecl__)) sigsuspend (const sigset_t *); int __attribute__((__cdecl__)) sigpause (int); int __attribute__((__cdecl__)) pthread_kill (pthread_t thread, int sig); int __attribute__((__cdecl__)) sigwaitinfo (const sigset_t *set, siginfo_t *info); int __attribute__((__cdecl__)) sigtimedwait (const sigset_t *set, siginfo_t *info, const struct timespec *timeout) ; int __attribute__((__cdecl__)) sigwait (const sigset_t *set, int *sig); int __attribute__((__cdecl__)) sigqueue (pid_t pid, int signo, const union sigval value); # 6 "/usr/include/signal.h" 2 3 4 typedef int sig_atomic_t; typedef _sig_func_ptr sig_t; typedef _sig_func_ptr sighandler_t; #define SIG_DFL ((_sig_func_ptr)0) #define SIG_IGN ((_sig_func_ptr)1) #define SIG_ERR ((_sig_func_ptr)-1) struct _reent; _sig_func_ptr __attribute__((__cdecl__)) _signal_r (struct _reent *, int, _sig_func_ptr); int __attribute__((__cdecl__)) _raise_r (struct _reent *, int); _sig_func_ptr __attribute__((__cdecl__)) signal (int, _sig_func_ptr); int __attribute__((__cdecl__)) raise (int); void __attribute__((__cdecl__)) psignal (int, const char *); # 141 "/usr/include/time.h" 2 3 4 int __attribute__((__cdecl__)) clock_settime (clockid_t clock_id, const struct timespec *tp); int __attribute__((__cdecl__)) clock_gettime (clockid_t clock_id, struct timespec *tp); int __attribute__((__cdecl__)) clock_getres (clockid_t clock_id, struct timespec *res); int __attribute__((__cdecl__)) timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid) ; int __attribute__((__cdecl__)) timer_delete (timer_t timerid); int __attribute__((__cdecl__)) timer_settime (timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue) ; int __attribute__((__cdecl__)) timer_gettime (timer_t timerid, struct itimerspec *value); int __attribute__((__cdecl__)) timer_getoverrun (timer_t timerid); int __attribute__((__cdecl__)) nanosleep (const struct timespec *rqtp, struct timespec *rmtp); # 184 "/usr/include/time.h" 3 4 int __attribute__((__cdecl__)) clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp) ; # 202 "/usr/include/time.h" 3 4 #define CLOCK_ENABLED 1 #define CLOCK_DISABLED 0 #define CLOCK_ALLOWED 1 #define CLOCK_DISALLOWED 0 #define CLOCK_REALTIME (clockid_t)1 #define TIMER_ABSTIME 4 # 231 "/usr/include/time.h" 3 4 #define CLOCK_PROCESS_CPUTIME_ID (clockid_t)2 # 241 "/usr/include/time.h" 3 4 #define CLOCK_THREAD_CPUTIME_ID (clockid_t)3 # 251 "/usr/include/time.h" 3 4 #define CLOCK_MONOTONIC (clockid_t)4 int __attribute__((__cdecl__)) clock_getcpuclockid (pid_t pid, clockid_t *clock_id); int __attribute__((__cdecl__)) clock_setenable_attr (clockid_t clock_id, int attr); int __attribute__((__cdecl__)) clock_getenable_attr (clockid_t clock_id, int *attr); # 25 "/usr/include/sys/select.h" 2 3 4 int select (int __n, _types_fd_set *__readfds, _types_fd_set *__writefds, _types_fd_set *__exceptfds, struct timeval *__timeout) ; int pselect (int __n, _types_fd_set *__readfds, _types_fd_set *__writefds, _types_fd_set *__exceptfds, const struct timespec *__timeout, const sigset_t *__set) ; # 14 "/usr/include/cygwin/sys_time.h" 2 3 4 int futimes (int, const struct timeval *); int lutimes (const char *, const struct timeval *); # 29 "/usr/include/sys/time.h" 2 3 4 #define ITIMER_REAL 0 #define ITIMER_VIRTUAL 1 #define ITIMER_PROF 2 struct itimerval { struct timeval it_interval; struct timeval it_value; }; #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) #define timerclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0) #define timercmp(a,b,CMP) (((a)->tv_sec == (b)->tv_sec) ? ((a)->tv_usec CMP (b)->tv_usec) : ((a)->tv_sec CMP (b)->tv_sec)) #define timeradd(a,b,result) do { (result)->tv_sec = (a)->tv_sec + (b)->tv_sec; (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; if ((result)->tv_usec >= 1000000) { ++(result)->tv_sec; (result)->tv_usec -= 1000000; } } while (0) # 63 "/usr/include/sys/time.h" 3 4 #define timersub(a,b,result) do { (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; if ((result)->tv_usec < 0) { --(result)->tv_sec; (result)->tv_usec += 1000000; } } while (0) # 78 "/usr/include/sys/time.h" 3 4 int __attribute__((__cdecl__)) gettimeofday (struct timeval *__p, void *__tz); int __attribute__((__cdecl__)) settimeofday (const struct timeval *, const struct timezone *); int __attribute__((__cdecl__)) utimes (const char *__path, const struct timeval *__tvp); int __attribute__((__cdecl__)) getitimer (int __which, struct itimerval *__value); int __attribute__((__cdecl__)) setitimer (int __which, const struct itimerval *__value, struct itimerval *__ovalue) ; # 348 "./Include/pyport.h" 2 # 387 "./Include/pyport.h" #define HAVE_STAT #define HAVE_FSTAT # 1 "/usr/include/sys/stat.h" 1 3 4 #define _SYS_STAT_H # 20 "/usr/include/sys/stat.h" 3 4 # 1 "/usr/include/cygwin/stat.h" 1 3 4 # 13 "/usr/include/cygwin/stat.h" 3 4 #define _CYGWIN_STAT_H # 62 "/usr/include/cygwin/stat.h" 3 4 struct stat { dev_t st_dev; ino_t st_ino; mode_t st_mode; nlink_t st_nlink; uid_t st_uid; gid_t st_gid; dev_t st_rdev; off_t st_size; timestruc_t st_atim; timestruc_t st_mtim; timestruc_t st_ctim; blksize_t st_blksize; blkcnt_t st_blocks; timestruc_t st_birthtim; }; #define st_atime st_atim.tv_sec #define st_mtime st_mtim.tv_sec #define st_ctime st_ctim.tv_sec #define st_birthtime st_birthtim.tv_sec #define S_TYPEISMQ(buf) ((void)(buf)->st_mode,0) #define S_TYPEISSEM(buf) ((void)(buf)->st_mode,0) #define S_TYPEISSHM(buf) ((void)(buf)->st_mode,0) # 21 "/usr/include/sys/stat.h" 2 3 4 # 69 "/usr/include/sys/stat.h" 3 4 #define _IFMT 0170000 #define _IFDIR 0040000 #define _IFCHR 0020000 #define _IFBLK 0060000 #define _IFREG 0100000 #define _IFLNK 0120000 #define _IFSOCK 0140000 #define _IFIFO 0010000 #define S_BLKSIZE 1024 #define S_ISUID 0004000 #define S_ISGID 0002000 #define S_ISVTX 0001000 #define S_IREAD 0000400 #define S_IWRITE 0000200 #define S_IEXEC 0000100 #define S_ENFMT 0002000 #define S_IFMT _IFMT #define S_IFDIR _IFDIR #define S_IFCHR _IFCHR #define S_IFBLK _IFBLK #define S_IFREG _IFREG #define S_IFLNK _IFLNK #define S_IFSOCK _IFSOCK #define S_IFIFO _IFIFO # 112 "/usr/include/sys/stat.h" 3 4 #define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR) #define S_IRUSR 0000400 #define S_IWUSR 0000200 #define S_IXUSR 0000100 #define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP) #define S_IRGRP 0000040 #define S_IWGRP 0000020 #define S_IXGRP 0000010 #define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH) #define S_IROTH 0000004 #define S_IWOTH 0000002 #define S_IXOTH 0000001 #define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) #define ALLPERMS (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO) #define DEFFILEMODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) #define S_ISBLK(m) (((m)&_IFMT) == _IFBLK) #define S_ISCHR(m) (((m)&_IFMT) == _IFCHR) #define S_ISDIR(m) (((m)&_IFMT) == _IFDIR) #define S_ISFIFO(m) (((m)&_IFMT) == _IFIFO) #define S_ISREG(m) (((m)&_IFMT) == _IFREG) #define S_ISLNK(m) (((m)&_IFMT) == _IFLNK) #define S_ISSOCK(m) (((m)&_IFMT) == _IFSOCK) #define UTIME_NOW -2L #define UTIME_OMIT -1L int __attribute__((__cdecl__)) chmod ( const char *__path, mode_t __mode ); int __attribute__((__cdecl__)) fchmod (int __fd, mode_t __mode); int __attribute__((__cdecl__)) fstat ( int __fd, struct stat *__sbuf ); int __attribute__((__cdecl__)) mkdir ( const char *_path, mode_t __mode ); int __attribute__((__cdecl__)) mkfifo ( const char *__path, mode_t __mode ); int __attribute__((__cdecl__)) stat ( const char *__path, struct stat *__sbuf ); mode_t __attribute__((__cdecl__)) umask ( mode_t __mask ); int __attribute__((__cdecl__)) lstat ( const char *__path, struct stat *__buf ); int __attribute__((__cdecl__)) mknod ( const char *__path, mode_t __mode, dev_t __dev ); int __attribute__((__cdecl__)) fchmodat (int, const char *, mode_t, int); int __attribute__((__cdecl__)) fstatat (int, const char *, struct stat *, int); int __attribute__((__cdecl__)) mkdirat (int, const char *, mode_t); int __attribute__((__cdecl__)) mkfifoat (int, const char *, mode_t); int __attribute__((__cdecl__)) mknodat (int, const char *, mode_t, dev_t); int __attribute__((__cdecl__)) utimensat (int, const char *, const struct timespec *, int); int __attribute__((__cdecl__)) futimens (int, const struct timespec *); # 399 "./Include/pyport.h" 2 # 446 "./Include/pyport.h" #define Py_ARITHMETIC_RIGHT_SHIFT(TYPE,I,J) ((I) >> (J)) #define Py_FORCE_EXPANSION(X) X # 466 "./Include/pyport.h" #define Py_SAFE_DOWNCAST(VALUE,WIDE,NARROW) (NARROW)(VALUE) # 481 "./Include/pyport.h" #define _Py_SET_EDOM_FOR_NAN(X) ; #define Py_SET_ERRNO_ON_MATH_ERROR(X) do { if (errno == 0) { if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL) errno = ERANGE; else _Py_SET_EDOM_FOR_NAN(X) } } while(0) # 495 "./Include/pyport.h" #define Py_SET_ERANGE_IF_OVERFLOW(X) Py_SET_ERRNO_ON_MATH_ERROR(X) # 511 "./Include/pyport.h" #define Py_ADJUST_ERANGE1(X) do { if (errno == 0) { if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL) errno = ERANGE; } else if (errno == ERANGE && (X) == 0.0) errno = 0; } while(0) # 521 "./Include/pyport.h" #define Py_ADJUST_ERANGE2(X,Y) do { if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL || (Y) == Py_HUGE_VAL || (Y) == -Py_HUGE_VAL) { if (errno == 0) errno = ERANGE; } else if (errno == ERANGE) errno = 0; } while(0) # 557 "./Include/pyport.h" #define HAVE_PY_SET_53BIT_PRECISION 1 #define _Py_SET_53BIT_PRECISION_HEADER unsigned short old_387controlword, new_387controlword #define _Py_SET_53BIT_PRECISION_START do { old_387controlword = _Py_get_387controlword(); new_387controlword = (old_387controlword & ~0x0f00) | 0x0200; if (new_387controlword != old_387controlword) _Py_set_387controlword(new_387controlword); } while (0) #define _Py_SET_53BIT_PRECISION_END if (new_387controlword != old_387controlword) _Py_set_387controlword(old_387controlword) # 639 "./Include/pyport.h" #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) # 666 "./Include/pyport.h" # 1 "/usr/include/sys/termio.h" 1 3 4 # 11 "/usr/include/sys/termio.h" 3 4 # 1 "/usr/include/sys/termios.h" 1 3 4 # 15 "/usr/include/sys/termios.h" 3 4 #define _SYS_TERMIOS_H #define TIOCMGET 0x5415 #define TIOCMBIS 0x5416 #define TIOCMBIC 0x5417 #define TIOCMSET 0x5418 #define TIOCINQ 0x541B #define TIOCSCTTY 0x540E #define TIOCSBRK 0x5427 #define TIOCCBRK 0x5428 #define TIOCM_DTR 0x002 #define TIOCM_RTS 0x004 #define TIOCM_CTS 0x020 #define TIOCM_CAR 0x040 #define TIOCM_RNG 0x080 #define TIOCM_DSR 0x100 #define TIOCM_CD TIOCM_CAR #define TIOCM_RI TIOCM_RNG #define TCOOFF 0 #define TCOON 1 #define TCIOFF 2 #define TCION 3 #define TCGETA 5 #define TCSETA 6 #define TCSETAW 7 #define TCSETAF 8 #define TCIFLUSH 0 #define TCOFLUSH 1 #define TCIOFLUSH 2 #define TCFLSH 3 #define TCSAFLUSH 1 #define TCSANOW 2 #define TCSADRAIN 3 #define TCSADFLUSH 4 #define TIOCPKT 6 #define TIOCPKT_DATA 0 #define TIOCPKT_FLUSHREAD 1 #define TIOCPKT_FLUSHWRITE 2 #define TIOCPKT_STOP 4 #define TIOCPKT_START 8 #define TIOCPKT_NOSTOP 16 #define TIOCPKT_DOSTOP 32 #define FIONBIO 0x8004667e #define CTRL(ch) ((ch)&0x1F) #define CNUL 0 #define CDEL 0x0007f #define CESC '\\' #define CINTR CTRL('C') #define CQUIT 0x0001c #define CERASE CDEL #define CKILL CTRL('U') #define CEOT CTRL('D') #define CEOL 0 #define CEOL2 0 #define CEOF CTRL('D') #define CSTART CTRL('Q') #define CSTOP CTRL('S') #define CSWTCH 0x0001a #define NSWTCH 0 #define CSUSP CTRL('Z') #define CDSUSP CTRL('Y') #define CRPRNT CTRL('R') #define CFLUSH CTRL('O') #define CWERASE CTRL('W') #define CLNEXT CTRL('V') #define IGNBRK 0x00001 #define BRKINT 0x00002 #define IGNPAR 0x00004 #define IMAXBEL 0x00008 #define INPCK 0x00010 #define ISTRIP 0x00020 #define INLCR 0x00040 #define IGNCR 0x00080 #define ICRNL 0x00100 #define IXON 0x00400 #define IXOFF 0x01000 #define IUCLC 0x04000 #define IXANY 0x08000 #define PARMRK 0x10000 #define OPOST 0x00001 #define OLCUC 0x00002 #define OCRNL 0x00004 #define ONLCR 0x00008 #define ONOCR 0x00010 #define ONLRET 0x00020 #define OFILL 0x00040 #define CRDLY 0x00180 #define CR0 0x00000 #define CR1 0x00080 #define CR2 0x00100 #define CR3 0x00180 #define NLDLY 0x00200 #define NL0 0x00000 #define NL1 0x00200 #define BSDLY 0x00400 #define BS0 0x00000 #define BS1 0x00400 #define TABDLY 0x01800 #define TAB0 0x00000 #define TAB1 0x00800 #define TAB2 0x01000 #define TAB3 0x01800 #define XTABS 0x01800 #define VTDLY 0x02000 #define VT0 0x00000 #define VT1 0x02000 #define FFDLY 0x04000 #define FF0 0x00000 #define FF1 0x04000 #define OFDEL 0x08000 #define CBAUD 0x0100f #define B0 0x00000 #define B50 0x00001 #define B75 0x00002 #define B110 0x00003 #define B134 0x00004 #define B150 0x00005 #define B200 0x00006 #define B300 0x00007 #define B600 0x00008 #define B1200 0x00009 #define B1800 0x0000a #define B2400 0x0000b #define B4800 0x0000c #define B9600 0x0000d #define B19200 0x0000e #define B38400 0x0000f #define CSIZE 0x00030 #define CS5 0x00000 #define CS6 0x00010 #define CS7 0x00020 #define CS8 0x00030 #define CSTOPB 0x00040 #define CREAD 0x00080 #define PARENB 0x00100 #define PARODD 0x00200 #define HUPCL 0x00400 #define CLOCAL 0x00800 #define CBAUDEX 0x0100f #define B57600 0x01001 #define B115200 0x01002 #define B128000 0x01003 #define B230400 0x01004 #define B256000 0x01005 #define B460800 0x01006 #define B500000 0x01007 #define B576000 0x01008 #define B921600 0x01009 #define B1000000 0x0100a #define B1152000 0x0100b #define B1500000 0x0100c #define B2000000 0x0100d #define B2500000 0x0100e #define B3000000 0x0100f #define CRTSXOFF 0x04000 #define CRTSCTS 0x08000 #define ISIG 0x0001 #define ICANON 0x0002 #define ECHO 0x0004 #define ECHOE 0x0008 #define ECHOK 0x0010 #define ECHONL 0x0020 #define NOFLSH 0x0040 #define TOSTOP 0x0080 #define IEXTEN 0x0100 #define FLUSHO 0x0200 #define ECHOKE 0x0400 #define ECHOCTL 0x0800 #define VDISCARD 1 #define VEOL 2 #define VEOL2 3 #define VEOF 4 #define VERASE 5 #define VINTR 6 #define VKILL 7 #define VLNEXT 8 #define VMIN 9 #define VQUIT 10 #define VREPRINT 11 #define VSTART 12 #define VSTOP 13 #define VSUSP 14 #define VSWTC 15 #define VTIME 16 #define VWERASE 17 #define NCCS 18 #define CCEQ(val,c) ((c) == (val) && (val) != _POSIX_VDISABLE) typedef unsigned char cc_t; typedef unsigned int tcflag_t; typedef unsigned int speed_t; typedef unsigned short otcflag_t; typedef unsigned char ospeed_t; struct __oldtermios { otcflag_t c_iflag; otcflag_t c_oflag; otcflag_t c_cflag; otcflag_t c_lflag; char c_line; cc_t c_cc[18]; ospeed_t c_ispeed; ospeed_t c_ospeed; }; struct termios { tcflag_t c_iflag; tcflag_t c_oflag; tcflag_t c_cflag; tcflag_t c_lflag; char c_line; cc_t c_cc[18]; speed_t c_ispeed; speed_t c_ospeed; }; # 321 "/usr/include/sys/termios.h" 3 4 #define termio termios int tcgetattr (int, struct termios *); int tcsetattr (int, int, const struct termios *); int tcsendbreak (int, int); int tcdrain (int); int tcflush (int, int); int tcflow (int, int); pid_t tcgetsid (int); void cfmakeraw (struct termios *); speed_t cfgetispeed(const struct termios *); speed_t cfgetospeed(const struct termios *); int cfsetispeed (struct termios *, speed_t); int cfsetospeed (struct termios *, speed_t); #define cfgetispeed(tp) ((tp)->c_ispeed) #define cfgetospeed(tp) ((tp)->c_ospeed) struct winsize { unsigned short ws_row, ws_col; unsigned short ws_xpixel, ws_ypixel; }; #define TIOCGWINSZ (('T' << 8) | 1) #define TIOCSWINSZ (('T' << 8) | 2) #define TIOCLINUX (('T' << 8) | 3) #define TIOCGPGRP (('T' << 8) | 0xf) #define TIOCSPGRP (('T' << 8) | 0x10) # 12 "/usr/include/sys/termio.h" 2 3 4 # 667 "./Include/pyport.h" 2 # 739 "./Include/pyport.h" #define HAVE_DECLSPEC_DLL #define PyAPI_FUNC(RTYPE) __declspec(dllexport) RTYPE #define PyAPI_DATA(RTYPE) extern __declspec(dllexport) RTYPE #define PyMODINIT_FUNC __declspec(dllexport) PyObject* # 834 "./Include/pyport.h" #define Py_GCC_ATTRIBUTE(x) __attribute__(x) # 843 "./Include/pyport.h" #define Py_FORMAT_PARSETUPLE(func,p1,p2) #define Py_ALIGNED(x) __attribute__((aligned(x))) # 867 "./Include/pyport.h" #define Py_LL(x) x ##LL #define Py_ULL(x) Py_LL(x ##U) # 880 "./Include/pyport.h" #define Py_VA_COPY(x,y) (x) = (y) # 51 "./Include/Python.h" 2 # 1 "./Include/pymacro.h" 1 #define Py_PYMACRO_H #define Py_MIN(x,y) (((x) > (y)) ? (y) : (x)) #define Py_MAX(x,y) (((x) > (y)) ? (x) : (y)) #define Py_CHARMASK(c) ((unsigned char)((c) & 0xff)) # 23 "./Include/pymacro.h" #define Py_BUILD_ASSERT_EXPR(cond) (sizeof(char [1 - 2*!(cond)]) - 1) # 39 "./Include/pymacro.h" #define Py_ARRAY_LENGTH(array) (sizeof(array) / sizeof((array)[0]) + Py_BUILD_ASSERT_EXPR(!__builtin_types_compatible_p(typeof(array), typeof(&(array)[0])))) # 50 "./Include/pymacro.h" #define PyDoc_VAR(name) static char name[] #define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str) #define PyDoc_STR(str) str #define _Py_SIZE_ROUND_DOWN(n,a) ((size_t)(n) & ~(size_t)((a) - 1)) #define _Py_SIZE_ROUND_UP(n,a) (((size_t)(n) + (size_t)((a) - 1)) & ~(size_t)((a) - 1)) #define _Py_ALIGN_DOWN(p,a) ((void *)((Py_uintptr_t)(p) & ~(Py_uintptr_t)((a) - 1))) #define _Py_ALIGN_UP(p,a) ((void *)(((Py_uintptr_t)(p) + (Py_uintptr_t)((a) - 1)) & ~(Py_uintptr_t)((a) - 1))) #define _Py_IS_ALIGNED(p,a) (!((Py_uintptr_t)(p) & (Py_uintptr_t)((a) - 1))) # 52 "./Include/Python.h" 2 # 1 "./Include/pyatomic.h" 1 #define Py_ATOMIC_H # 1 "./Include/dynamic_annotations.h" 1 # 57 "./Include/dynamic_annotations.h" #define __DYNAMIC_ANNOTATIONS_H__ #define DYNAMIC_ANNOTATIONS_ENABLED 0 # 328 "./Include/dynamic_annotations.h" #define _Py_ANNOTATE_RWLOCK_CREATE(lock) #define _Py_ANNOTATE_RWLOCK_DESTROY(lock) #define _Py_ANNOTATE_RWLOCK_ACQUIRED(lock,is_w) #define _Py_ANNOTATE_RWLOCK_RELEASED(lock,is_w) #define _Py_ANNOTATE_BARRIER_INIT(barrier,count,reinitialization_allowed) #define _Py_ANNOTATE_BARRIER_WAIT_BEFORE(barrier) #define _Py_ANNOTATE_BARRIER_WAIT_AFTER(barrier) #define _Py_ANNOTATE_BARRIER_DESTROY(barrier) #define _Py_ANNOTATE_CONDVAR_LOCK_WAIT(cv,lock) #define _Py_ANNOTATE_CONDVAR_WAIT(cv) #define _Py_ANNOTATE_CONDVAR_SIGNAL(cv) #define _Py_ANNOTATE_CONDVAR_SIGNAL_ALL(cv) #define _Py_ANNOTATE_HAPPENS_BEFORE(obj) #define _Py_ANNOTATE_HAPPENS_AFTER(obj) #define _Py_ANNOTATE_PUBLISH_MEMORY_RANGE(address,size) #define _Py_ANNOTATE_UNPUBLISH_MEMORY_RANGE(address,size) #define _Py_ANNOTATE_SWAP_MEMORY_RANGE(address,size) #define _Py_ANNOTATE_PCQ_CREATE(pcq) #define _Py_ANNOTATE_PCQ_DESTROY(pcq) #define _Py_ANNOTATE_PCQ_PUT(pcq) #define _Py_ANNOTATE_PCQ_GET(pcq) #define _Py_ANNOTATE_NEW_MEMORY(address,size) #define _Py_ANNOTATE_EXPECT_RACE(address,description) #define _Py_ANNOTATE_BENIGN_RACE(address,description) #define _Py_ANNOTATE_BENIGN_RACE_SIZED(address,size,description) #define _Py_ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX(mu) #define _Py_ANNOTATE_MUTEX_IS_USED_AS_CONDVAR(mu) #define _Py_ANNOTATE_TRACE_MEMORY(arg) #define _Py_ANNOTATE_THREAD_NAME(name) #define _Py_ANNOTATE_IGNORE_READS_BEGIN() #define _Py_ANNOTATE_IGNORE_READS_END() #define _Py_ANNOTATE_IGNORE_WRITES_BEGIN() #define _Py_ANNOTATE_IGNORE_WRITES_END() #define _Py_ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN() #define _Py_ANNOTATE_IGNORE_READS_AND_WRITES_END() #define _Py_ANNOTATE_IGNORE_SYNC_BEGIN() #define _Py_ANNOTATE_IGNORE_SYNC_END() #define _Py_ANNOTATE_ENABLE_RACE_DETECTION(enable) #define _Py_ANNOTATE_NO_OP(arg) #define _Py_ANNOTATE_FLUSH_STATE() void AnnotateRWLockCreate(const char *file, int line, const volatile void *lock); void AnnotateRWLockDestroy(const char *file, int line, const volatile void *lock); void AnnotateRWLockAcquired(const char *file, int line, const volatile void *lock, long is_w); void AnnotateRWLockReleased(const char *file, int line, const volatile void *lock, long is_w); void AnnotateBarrierInit(const char *file, int line, const volatile void *barrier, long count, long reinitialization_allowed); void AnnotateBarrierWaitBefore(const char *file, int line, const volatile void *barrier); void AnnotateBarrierWaitAfter(const char *file, int line, const volatile void *barrier); void AnnotateBarrierDestroy(const char *file, int line, const volatile void *barrier); void AnnotateCondVarWait(const char *file, int line, const volatile void *cv, const volatile void *lock); void AnnotateCondVarSignal(const char *file, int line, const volatile void *cv); void AnnotateCondVarSignalAll(const char *file, int line, const volatile void *cv); void AnnotatePublishMemoryRange(const char *file, int line, const volatile void *address, long size); void AnnotateUnpublishMemoryRange(const char *file, int line, const volatile void *address, long size); void AnnotatePCQCreate(const char *file, int line, const volatile void *pcq); void AnnotatePCQDestroy(const char *file, int line, const volatile void *pcq); void AnnotatePCQPut(const char *file, int line, const volatile void *pcq); void AnnotatePCQGet(const char *file, int line, const volatile void *pcq); void AnnotateNewMemory(const char *file, int line, const volatile void *address, long size); void AnnotateExpectRace(const char *file, int line, const volatile void *address, const char *description); void AnnotateBenignRace(const char *file, int line, const volatile void *address, const char *description); void AnnotateBenignRaceSized(const char *file, int line, const volatile void *address, long size, const char *description); void AnnotateMutexIsUsedAsCondVar(const char *file, int line, const volatile void *mu); void AnnotateTraceMemory(const char *file, int line, const volatile void *arg); void AnnotateThreadName(const char *file, int line, const char *name); void AnnotateIgnoreReadsBegin(const char *file, int line); void AnnotateIgnoreReadsEnd(const char *file, int line); void AnnotateIgnoreWritesBegin(const char *file, int line); void AnnotateIgnoreWritesEnd(const char *file, int line); void AnnotateEnableRaceDetection(const char *file, int line, int enable); void AnnotateNoOp(const char *file, int line, const volatile void *arg); void AnnotateFlushState(const char *file, int line); # 456 "./Include/dynamic_annotations.h" int RunningOnValgrind(void); # 494 "./Include/dynamic_annotations.h" #define _Py_ANNOTATE_UNPROTECTED_READ(x) (x) #define _Py_ANNOTATE_BENIGN_RACE_STATIC(static_var,description) # 9 "./Include/pyatomic.h" 2 # 23 "./Include/pyatomic.h" typedef enum _Py_memory_order { _Py_memory_order_relaxed, _Py_memory_order_acquire, _Py_memory_order_release, _Py_memory_order_acq_rel, _Py_memory_order_seq_cst } _Py_memory_order; typedef struct _Py_atomic_address { void *_value; } _Py_atomic_address; typedef struct _Py_atomic_int { int _value; } _Py_atomic_int; static __inline__ void _Py_atomic_signal_fence(_Py_memory_order order) { if (order != _Py_memory_order_relaxed) __asm__ volatile("":::"memory"); } static __inline__ void _Py_atomic_thread_fence(_Py_memory_order order) { if (order != _Py_memory_order_relaxed) __asm__ volatile("mfence":::"memory"); } static __inline__ void _Py_ANNOTATE_MEMORY_ORDER(const volatile void *address, _Py_memory_order order) { (void)address; switch(order) { case _Py_memory_order_release: case _Py_memory_order_acq_rel: case _Py_memory_order_seq_cst: ; break; case _Py_memory_order_relaxed: case _Py_memory_order_acquire: break; } switch(order) { case _Py_memory_order_acquire: case _Py_memory_order_acq_rel: case _Py_memory_order_seq_cst: ; break; case _Py_memory_order_relaxed: case _Py_memory_order_release: break; } } #define _Py_atomic_store_explicit(ATOMIC_VAL,NEW_VAL,ORDER) __extension__ ({ __typeof__(ATOMIC_VAL) atomic_val = ATOMIC_VAL; __typeof__(atomic_val->_value) new_val = NEW_VAL; volatile __typeof__(new_val) *volatile_data = &atomic_val->_value; _Py_memory_order order = ORDER; _Py_ANNOTATE_MEMORY_ORDER(atomic_val, order); _Py_ANNOTATE_IGNORE_WRITES_BEGIN(); switch(order) { case _Py_memory_order_release: _Py_atomic_signal_fence(_Py_memory_order_release); case _Py_memory_order_relaxed: *volatile_data = new_val; break; case _Py_memory_order_acquire: case _Py_memory_order_acq_rel: case _Py_memory_order_seq_cst: __asm__ volatile("xchg %0, %1" : "+r"(new_val) : "m"(atomic_val->_value) : "memory"); break; } _Py_ANNOTATE_IGNORE_WRITES_END(); }) # 114 "./Include/pyatomic.h" #define _Py_atomic_load_explicit(ATOMIC_VAL,ORDER) __extension__ ({ __typeof__(ATOMIC_VAL) atomic_val = ATOMIC_VAL; __typeof__(atomic_val->_value) result; volatile __typeof__(result) *volatile_data = &atomic_val->_value; _Py_memory_order order = ORDER; _Py_ANNOTATE_MEMORY_ORDER(atomic_val, order); _Py_ANNOTATE_IGNORE_READS_BEGIN(); switch(order) { case _Py_memory_order_release: case _Py_memory_order_acq_rel: case _Py_memory_order_seq_cst: _Py_atomic_thread_fence(_Py_memory_order_release); break; default: break; } result = *volatile_data; switch(order) { case _Py_memory_order_acquire: case _Py_memory_order_acq_rel: case _Py_memory_order_seq_cst: _Py_atomic_signal_fence(_Py_memory_order_acquire); break; default: break; } _Py_ANNOTATE_IGNORE_READS_END(); result; }) # 167 "./Include/pyatomic.h" #define _Py_atomic_store(ATOMIC_VAL,NEW_VAL) _Py_atomic_store_explicit(ATOMIC_VAL, NEW_VAL, _Py_memory_order_seq_cst) #define _Py_atomic_load(ATOMIC_VAL) _Py_atomic_load_explicit(ATOMIC_VAL, _Py_memory_order_seq_cst) #define _Py_atomic_store_relaxed(ATOMIC_VAL,NEW_VAL) _Py_atomic_store_explicit(ATOMIC_VAL, NEW_VAL, _Py_memory_order_relaxed) #define _Py_atomic_load_relaxed(ATOMIC_VAL) _Py_atomic_load_explicit(ATOMIC_VAL, _Py_memory_order_relaxed) # 54 "./Include/Python.h" 2 # 64 "./Include/Python.h" # 1 "./Include/pymath.h" 1 #define Py_PYMATH_H # 44 "./Include/pymath.h" #define Py_MATH_PIl 3.1415926535897932384626433832795029L #define Py_MATH_PI 3.14159265358979323846 #define Py_MATH_El 2.7182818284590452353602874713526625L #define Py_MATH_E 2.7182818284590452354 # 67 "./Include/pymath.h" __attribute__((dllexport)) double _Py_force_double(double); #define Py_FORCE_DOUBLE(X) (_Py_force_double(X)) # 77 "./Include/pymath.h" __attribute__((dllexport)) unsigned short _Py_get_387controlword(void); __attribute__((dllexport)) void _Py_set_387controlword(unsigned short); # 93 "./Include/pymath.h" #define Py_IS_NAN(X) isnan(X) # 113 "./Include/pymath.h" #define Py_IS_INFINITY(X) isinf(X) # 128 "./Include/pymath.h" #define Py_IS_FINITE(X) isfinite(X) # 144 "./Include/pymath.h" #define Py_HUGE_VAL HUGE_VAL # 153 "./Include/pymath.h" #define Py_NAN (Py_HUGE_VAL * 0.) # 185 "./Include/pymath.h" #define Py_OVERFLOWED(X) ((X) != 0.0 && (errno == ERANGE || (X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL)) # 65 "./Include/Python.h" 2 # 1 "./Include/pytime.h" 1 #define Py_PYTIME_H # 1 "./Include/object.h" 1 #define Py_OBJECT_H # 77 "./Include/object.h" #define _PyObject_HEAD_EXTRA #define _PyObject_EXTRA_INIT #define PyObject_HEAD PyObject ob_base; #define PyObject_HEAD_INIT(type) { _PyObject_EXTRA_INIT 1, type }, #define PyVarObject_HEAD_INIT(type,size) { PyObject_HEAD_INIT(type) size }, # 97 "./Include/object.h" #define PyObject_VAR_HEAD PyVarObject ob_base; #define Py_INVALID_SIZE (Py_ssize_t)-1 typedef struct _object { Py_ssize_t ob_refcnt; struct _typeobject *ob_type; } PyObject; typedef struct { PyObject ob_base; Py_ssize_t ob_size; } PyVarObject; #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt) #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) # 140 "./Include/object.h" typedef struct _Py_Identifier { struct _Py_Identifier *next; const char* string; PyObject *object; } _Py_Identifier; #define _Py_static_string(varname,value) static _Py_Identifier varname = { 0, value, 0 } #define _Py_IDENTIFIER(varname) _Py_static_string(PyId_ ##varname, #varname) # 164 "./Include/object.h" typedef PyObject * (*unaryfunc)(PyObject *); typedef PyObject * (*binaryfunc)(PyObject *, PyObject *); typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *); typedef int (*inquiry)(PyObject *); typedef Py_ssize_t (*lenfunc)(PyObject *); typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t); typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t); typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *); typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *); typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *); typedef struct bufferinfo { void *buf; PyObject *obj; Py_ssize_t len; Py_ssize_t itemsize; int readonly; int ndim; char *format; Py_ssize_t *shape; Py_ssize_t *strides; Py_ssize_t *suboffsets; void *internal; } Py_buffer; typedef int (*getbufferproc)(PyObject *, Py_buffer *, int); typedef void (*releasebufferproc)(PyObject *, Py_buffer *); #define PyBUF_MAX_NDIM 64 #define PyBUF_SIMPLE 0 #define PyBUF_WRITABLE 0x0001 #define PyBUF_WRITEABLE PyBUF_WRITABLE #define PyBUF_FORMAT 0x0004 #define PyBUF_ND 0x0008 #define PyBUF_STRIDES (0x0010 | PyBUF_ND) #define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES) #define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES) #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES) #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES) #define PyBUF_CONTIG (PyBUF_ND | PyBUF_WRITABLE) #define PyBUF_CONTIG_RO (PyBUF_ND) #define PyBUF_STRIDED (PyBUF_STRIDES | PyBUF_WRITABLE) #define PyBUF_STRIDED_RO (PyBUF_STRIDES) #define PyBUF_RECORDS (PyBUF_STRIDES | PyBUF_WRITABLE | PyBUF_FORMAT) #define PyBUF_RECORDS_RO (PyBUF_STRIDES | PyBUF_FORMAT) #define PyBUF_FULL (PyBUF_INDIRECT | PyBUF_WRITABLE | PyBUF_FORMAT) #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT) #define PyBUF_READ 0x100 #define PyBUF_WRITE 0x200 typedef int (*objobjproc)(PyObject *, PyObject *); typedef int (*visitproc)(PyObject *, void *); typedef int (*traverseproc)(PyObject *, visitproc, void *); typedef struct { binaryfunc nb_add; binaryfunc nb_subtract; binaryfunc nb_multiply; binaryfunc nb_remainder; binaryfunc nb_divmod; ternaryfunc nb_power; unaryfunc nb_negative; unaryfunc nb_positive; unaryfunc nb_absolute; inquiry nb_bool; unaryfunc nb_invert; binaryfunc nb_lshift; binaryfunc nb_rshift; binaryfunc nb_and; binaryfunc nb_xor; binaryfunc nb_or; unaryfunc nb_int; void *nb_reserved; unaryfunc nb_float; binaryfunc nb_inplace_add; binaryfunc nb_inplace_subtract; binaryfunc nb_inplace_multiply; binaryfunc nb_inplace_remainder; ternaryfunc nb_inplace_power; binaryfunc nb_inplace_lshift; binaryfunc nb_inplace_rshift; binaryfunc nb_inplace_and; binaryfunc nb_inplace_xor; binaryfunc nb_inplace_or; binaryfunc nb_floor_divide; binaryfunc nb_true_divide; binaryfunc nb_inplace_floor_divide; binaryfunc nb_inplace_true_divide; unaryfunc nb_index; } PyNumberMethods; typedef struct { lenfunc sq_length; binaryfunc sq_concat; ssizeargfunc sq_repeat; ssizeargfunc sq_item; void *was_sq_slice; ssizeobjargproc sq_ass_item; void *was_sq_ass_slice; objobjproc sq_contains; binaryfunc sq_inplace_concat; ssizeargfunc sq_inplace_repeat; } PySequenceMethods; typedef struct { lenfunc mp_length; binaryfunc mp_subscript; objobjargproc mp_ass_subscript; } PyMappingMethods; typedef struct { getbufferproc bf_getbuffer; releasebufferproc bf_releasebuffer; } PyBufferProcs; typedef void (*freefunc)(void *); typedef void (*destructor)(PyObject *); typedef int (*printfunc)(PyObject *, FILE *, int); typedef PyObject *(*getattrfunc)(PyObject *, char *); typedef PyObject *(*getattrofunc)(PyObject *, PyObject *); typedef int (*setattrfunc)(PyObject *, char *, PyObject *); typedef int (*setattrofunc)(PyObject *, PyObject *, PyObject *); typedef PyObject *(*reprfunc)(PyObject *); typedef Py_hash_t (*hashfunc)(PyObject *); typedef PyObject *(*richcmpfunc) (PyObject *, PyObject *, int); typedef PyObject *(*getiterfunc) (PyObject *); typedef PyObject *(*iternextfunc) (PyObject *); typedef PyObject *(*descrgetfunc) (PyObject *, PyObject *, PyObject *); typedef int (*descrsetfunc) (PyObject *, PyObject *, PyObject *); typedef int (*initproc)(PyObject *, PyObject *, PyObject *); typedef PyObject *(*newfunc)(struct _typeobject *, PyObject *, PyObject *); typedef PyObject *(*allocfunc)(struct _typeobject *, Py_ssize_t); typedef struct _typeobject { PyVarObject ob_base; const char *tp_name; Py_ssize_t tp_basicsize, tp_itemsize; destructor tp_dealloc; printfunc tp_print; getattrfunc tp_getattr; setattrfunc tp_setattr; void *tp_reserved; reprfunc tp_repr; PyNumberMethods *tp_as_number; PySequenceMethods *tp_as_sequence; PyMappingMethods *tp_as_mapping; hashfunc tp_hash; ternaryfunc tp_call; reprfunc tp_str; getattrofunc tp_getattro; setattrofunc tp_setattro; PyBufferProcs *tp_as_buffer; long tp_flags; const char *tp_doc; traverseproc tp_traverse; inquiry tp_clear; richcmpfunc tp_richcompare; Py_ssize_t tp_weaklistoffset; getiterfunc tp_iter; iternextfunc tp_iternext; struct PyMethodDef *tp_methods; struct PyMemberDef *tp_members; struct PyGetSetDef *tp_getset; struct _typeobject *tp_base; PyObject *tp_dict; descrgetfunc tp_descr_get; descrsetfunc tp_descr_set; Py_ssize_t tp_dictoffset; initproc tp_init; allocfunc tp_alloc; newfunc tp_new; freefunc tp_free; inquiry tp_is_gc; PyObject *tp_bases; PyObject *tp_mro; PyObject *tp_cache; PyObject *tp_subclasses; PyObject *tp_weaklist; destructor tp_del; unsigned int tp_version_tag; # 419 "./Include/object.h" } PyTypeObject; typedef struct{ int slot; void *pfunc; } PyType_Slot; typedef struct{ const char* name; int basicsize; int itemsize; int flags; PyType_Slot *slots; } PyType_Spec; __attribute__((dllexport)) PyObject* PyType_FromSpec(PyType_Spec*); __attribute__((dllexport)) PyObject* PyType_FromSpecWithBases(PyType_Spec*, PyObject*); typedef struct _heaptypeobject { PyTypeObject ht_type; PyNumberMethods as_number; PyMappingMethods as_mapping; PySequenceMethods as_sequence; PyBufferProcs as_buffer; PyObject *ht_name, *ht_slots, *ht_qualname; struct _dictkeysobject *ht_cached_keys; } PyHeapTypeObject; #define PyHeapType_GET_MEMBERS(etype) ((PyMemberDef *)(((char *)etype) + Py_TYPE(etype)->tp_basicsize)) __attribute__((dllexport)) int PyType_IsSubtype(PyTypeObject *, PyTypeObject *); #define PyObject_TypeCheck(ob,tp) (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp))) extern __attribute__((dllexport)) PyTypeObject PyType_Type; extern __attribute__((dllexport)) PyTypeObject PyBaseObject_Type; extern __attribute__((dllexport)) PyTypeObject PySuper_Type; __attribute__((dllexport)) long PyType_GetFlags(PyTypeObject*); #define PyType_Check(op) PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS) #define PyType_CheckExact(op) (Py_TYPE(op) == &PyType_Type) __attribute__((dllexport)) int PyType_Ready(PyTypeObject *); __attribute__((dllexport)) PyObject * PyType_GenericAlloc(PyTypeObject *, Py_ssize_t); __attribute__((dllexport)) PyObject * PyType_GenericNew(PyTypeObject *, PyObject *, PyObject *); __attribute__((dllexport)) PyObject * _PyType_Lookup(PyTypeObject *, PyObject *); __attribute__((dllexport)) PyObject * _PyObject_LookupSpecial(PyObject *, _Py_Identifier *); __attribute__((dllexport)) PyTypeObject * _PyType_CalculateMetaclass(PyTypeObject *, PyObject *); __attribute__((dllexport)) unsigned int PyType_ClearCache(void); __attribute__((dllexport)) void PyType_Modified(PyTypeObject *); struct _Py_Identifier; __attribute__((dllexport)) int PyObject_Print(PyObject *, FILE *, int); __attribute__((dllexport)) void _Py_BreakPoint(void); __attribute__((dllexport)) void _PyObject_Dump(PyObject *); __attribute__((dllexport)) PyObject * PyObject_Repr(PyObject *); __attribute__((dllexport)) PyObject * PyObject_Str(PyObject *); __attribute__((dllexport)) PyObject * PyObject_ASCII(PyObject *); __attribute__((dllexport)) PyObject * PyObject_Bytes(PyObject *); __attribute__((dllexport)) PyObject * PyObject_RichCompare(PyObject *, PyObject *, int); __attribute__((dllexport)) int PyObject_RichCompareBool(PyObject *, PyObject *, int); __attribute__((dllexport)) PyObject * PyObject_GetAttrString(PyObject *, const char *); __attribute__((dllexport)) int PyObject_SetAttrString(PyObject *, const char *, PyObject *); __attribute__((dllexport)) int PyObject_HasAttrString(PyObject *, const char *); __attribute__((dllexport)) PyObject * PyObject_GetAttr(PyObject *, PyObject *); __attribute__((dllexport)) int PyObject_SetAttr(PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) int PyObject_HasAttr(PyObject *, PyObject *); __attribute__((dllexport)) int _PyObject_IsAbstract(PyObject *); __attribute__((dllexport)) PyObject * _PyObject_GetAttrId(PyObject *, struct _Py_Identifier *); __attribute__((dllexport)) int _PyObject_SetAttrId(PyObject *, struct _Py_Identifier *, PyObject *); __attribute__((dllexport)) int _PyObject_HasAttrId(PyObject *, struct _Py_Identifier *); __attribute__((dllexport)) PyObject ** _PyObject_GetDictPtr(PyObject *); __attribute__((dllexport)) PyObject * PyObject_SelfIter(PyObject *); __attribute__((dllexport)) PyObject * _PyObject_NextNotImplemented(PyObject *); __attribute__((dllexport)) PyObject * PyObject_GenericGetAttr(PyObject *, PyObject *); __attribute__((dllexport)) int PyObject_GenericSetAttr(PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) int PyObject_GenericSetDict(PyObject *, PyObject *, void *); __attribute__((dllexport)) Py_hash_t PyObject_Hash(PyObject *); __attribute__((dllexport)) Py_hash_t PyObject_HashNotImplemented(PyObject *); __attribute__((dllexport)) int PyObject_IsTrue(PyObject *); __attribute__((dllexport)) int PyObject_Not(PyObject *); __attribute__((dllexport)) int PyCallable_Check(PyObject *); __attribute__((dllexport)) void PyObject_ClearWeakRefs(PyObject *); __attribute__((dllexport)) PyObject * _PyObject_GenericGetAttrWithDict(PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) int _PyObject_GenericSetAttrWithDict(PyObject *, PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) PyObject * _PyObject_GetBuiltin(const char *name); __attribute__((dllexport)) PyObject * PyObject_Dir(PyObject *); __attribute__((dllexport)) int Py_ReprEnter(PyObject *); __attribute__((dllexport)) void Py_ReprLeave(PyObject *); __attribute__((dllexport)) Py_hash_t _Py_HashDouble(double); __attribute__((dllexport)) Py_hash_t _Py_HashPointer(void*); __attribute__((dllexport)) Py_hash_t _Py_HashBytes(unsigned char*, Py_ssize_t); typedef struct { Py_hash_t prefix; Py_hash_t suffix; } _Py_HashSecret_t; extern __attribute__((dllexport)) _Py_HashSecret_t _Py_HashSecret; #define PyObject_REPR(obj) _PyUnicode_AsString(PyObject_Repr(obj)) #define Py_PRINT_RAW 1 # 606 "./Include/object.h" #define Py_TPFLAGS_HEAPTYPE (1L<<9) #define Py_TPFLAGS_BASETYPE (1L<<10) #define Py_TPFLAGS_READY (1L<<12) #define Py_TPFLAGS_READYING (1L<<13) #define Py_TPFLAGS_HAVE_GC (1L<<14) #define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0 #define Py_TPFLAGS_HAVE_VERSION_TAG (1L<<18) #define Py_TPFLAGS_VALID_VERSION_TAG (1L<<19) #define Py_TPFLAGS_IS_ABSTRACT (1L<<20) #define Py_TPFLAGS_INT_SUBCLASS (1L<<23) #define Py_TPFLAGS_LONG_SUBCLASS (1L<<24) #define Py_TPFLAGS_LIST_SUBCLASS (1L<<25) #define Py_TPFLAGS_TUPLE_SUBCLASS (1L<<26) #define Py_TPFLAGS_BYTES_SUBCLASS (1L<<27) #define Py_TPFLAGS_UNICODE_SUBCLASS (1L<<28) #define Py_TPFLAGS_DICT_SUBCLASS (1L<<29) #define Py_TPFLAGS_BASE_EXC_SUBCLASS (1L<<30) #define Py_TPFLAGS_TYPE_SUBCLASS (1L<<31) #define Py_TPFLAGS_DEFAULT ( Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | Py_TPFLAGS_HAVE_VERSION_TAG | 0) #define PyType_HasFeature(t,f) (((t)->tp_flags & (f)) != 0) #define PyType_FastSubclass(t,f) PyType_HasFeature(t,f) # 717 "./Include/object.h" #define _Py_INC_REFTOTAL #define _Py_DEC_REFTOTAL #define _Py_REF_DEBUG_COMMA #define _Py_CHECK_REFCNT(OP) ; # 731 "./Include/object.h" #define _Py_INC_TPALLOCS(OP) #define _Py_INC_TPFREES(OP) #define _Py_DEC_TPFREES(OP) #define _Py_COUNT_ALLOCS_COMMA # 750 "./Include/object.h" #define _Py_NewReference(op) ( _Py_INC_TPALLOCS(op) _Py_COUNT_ALLOCS_COMMA _Py_INC_REFTOTAL _Py_REF_DEBUG_COMMA Py_REFCNT(op) = 1) #define _Py_ForgetReference(op) _Py_INC_TPFREES(op) #define _Py_Dealloc(op) ( _Py_INC_TPFREES(op) _Py_COUNT_ALLOCS_COMMA (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op))) #define Py_INCREF(op) ( _Py_INC_REFTOTAL _Py_REF_DEBUG_COMMA ((PyObject*)(op))->ob_refcnt++) #define Py_DECREF(op) do { if (_Py_DEC_REFTOTAL _Py_REF_DEBUG_COMMA --((PyObject*)(op))->ob_refcnt != 0) _Py_CHECK_REFCNT(op) else _Py_Dealloc((PyObject *)(op)); } while (0) # 813 "./Include/object.h" #define Py_CLEAR(op) do { if (op) { PyObject *_py_tmp = (PyObject *)(op); (op) = NULL; Py_DECREF(_py_tmp); } } while (0) # 823 "./Include/object.h" #define Py_XINCREF(op) do { if ((op) == NULL) ; else Py_INCREF(op); } while (0) #define Py_XDECREF(op) do { if ((op) == NULL) ; else Py_DECREF(op); } while (0) __attribute__((dllexport)) void Py_IncRef(PyObject *); __attribute__((dllexport)) void Py_DecRef(PyObject *); extern __attribute__((dllexport)) PyObject _Py_NoneStruct; #define Py_None (&_Py_NoneStruct) #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None extern __attribute__((dllexport)) PyObject _Py_NotImplementedStruct; #define Py_NotImplemented (&_Py_NotImplementedStruct) #define Py_RETURN_NOTIMPLEMENTED return Py_INCREF(Py_NotImplemented), Py_NotImplemented #define Py_LT 0 #define Py_LE 1 #define Py_EQ 2 #define Py_NE 3 #define Py_GT 4 #define Py_GE 5 extern __attribute__((dllexport)) int _Py_SwappedOp[]; # 966 "./Include/object.h" __attribute__((dllexport)) void _PyTrash_deposit_object(PyObject*); __attribute__((dllexport)) void _PyTrash_destroy_chain(void); extern __attribute__((dllexport)) int _PyTrash_delete_nesting; extern __attribute__((dllexport)) PyObject * _PyTrash_delete_later; __attribute__((dllexport)) void _PyTrash_thread_deposit_object(PyObject*); __attribute__((dllexport)) void _PyTrash_thread_destroy_chain(void); #define PyTrash_UNWIND_LEVEL 50 #define Py_TRASHCAN_SAFE_BEGIN(op) do { PyThreadState *_tstate = PyThreadState_GET(); if (_tstate->trash_delete_nesting < PyTrash_UNWIND_LEVEL) { ++_tstate->trash_delete_nesting; #define Py_TRASHCAN_SAFE_END(op) --_tstate->trash_delete_nesting; if (_tstate->trash_delete_later && _tstate->trash_delete_nesting <= 0) _PyTrash_thread_destroy_chain(); } else _PyTrash_thread_deposit_object((PyObject*)op); } while (0); # 993 "./Include/object.h" __attribute__((dllexport)) void _PyDebugAllocatorStats(FILE *out, const char *block_name, int num_blocks, size_t sizeof_block); __attribute__((dllexport)) void _PyObject_DebugTypeStats(FILE *out); # 7 "./Include/pytime.h" 2 # 17 "./Include/pytime.h" typedef struct timeval _PyTime_timeval; # 26 "./Include/pytime.h" typedef struct { const char *implementation; int monotonic; int adjustable; double resolution; } _Py_clock_info_t; __attribute__((dllexport)) void _PyTime_gettimeofday(_PyTime_timeval *tp); __attribute__((dllexport)) void _PyTime_gettimeofday_info( _PyTime_timeval *tp, _Py_clock_info_t *info); #define _PyTime_ADD_SECONDS(tv,interval) do { tv.tv_usec += (long) (((long) interval - interval) * 1000000); tv.tv_sec += (time_t) interval + (time_t) (tv.tv_usec / 1000000); tv.tv_usec %= 1000000; } while (0) #define _PyTime_INTERVAL(tv_start,tv_end) ((tv_end.tv_sec - tv_start.tv_sec) + (tv_end.tv_usec - tv_start.tv_usec) * 0.000001) __attribute__((dllexport)) int _PyTime_ObjectToTime_t( PyObject *obj, time_t *sec); __attribute__((dllexport)) PyObject * _PyLong_FromTime_t( time_t sec); __attribute__((dllexport)) time_t _PyLong_AsTime_t( PyObject *obj); __attribute__((dllexport)) int _PyTime_ObjectToTimeval( PyObject *obj, time_t *sec, long *usec); __attribute__((dllexport)) int _PyTime_ObjectToTimespec( PyObject *obj, time_t *sec, long *nsec); __attribute__((dllexport)) void _PyTime_Init(void); # 66 "./Include/Python.h" 2 # 1 "./Include/pymem.h" 1 #define Py_PYMEM_H # 52 "./Include/pymem.h" __attribute__((dllexport)) void * PyMem_Malloc(size_t); __attribute__((dllexport)) void * PyMem_Realloc(void *, size_t); __attribute__((dllexport)) void PyMem_Free(void *); # 74 "./Include/pymem.h" #define PyMem_MALLOC(n) ((size_t)(n) > (size_t)PY_SSIZE_T_MAX ? NULL : malloc((n) ? (n) : 1)) #define PyMem_REALLOC(p,n) ((size_t)(n) > (size_t)PY_SSIZE_T_MAX ? NULL : realloc((p), (n) ? (n) : 1)) #define PyMem_FREE free # 92 "./Include/pymem.h" #define PyMem_New(type,n) ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : ( (type *) PyMem_Malloc((n) * sizeof(type)) ) ) #define PyMem_NEW(type,n) ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) # 105 "./Include/pymem.h" #define PyMem_Resize(p,type,n) ( (p) = ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : (type *) PyMem_Realloc((p), (n) * sizeof(type)) ) #define PyMem_RESIZE(p,type,n) ( (p) = ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) #define PyMem_Del PyMem_Free #define PyMem_DEL PyMem_FREE # 67 "./Include/Python.h" 2 # 1 "./Include/objimpl.h" 1 #define Py_OBJIMPL_H # 97 "./Include/objimpl.h" __attribute__((dllexport)) void * PyObject_Malloc(size_t); __attribute__((dllexport)) void * PyObject_Realloc(void *, size_t); __attribute__((dllexport)) void PyObject_Free(void *); __attribute__((dllexport)) void _PyObject_DebugMallocStats(FILE *out); # 128 "./Include/objimpl.h" #define PyObject_MALLOC PyObject_Malloc #define PyObject_REALLOC PyObject_Realloc #define PyObject_FREE PyObject_Free # 140 "./Include/objimpl.h" #define PyObject_Del PyObject_Free #define PyObject_DEL PyObject_FREE __attribute__((dllexport)) PyObject * PyObject_Init(PyObject *, PyTypeObject *); __attribute__((dllexport)) PyVarObject * PyObject_InitVar(PyVarObject *, PyTypeObject *, Py_ssize_t); __attribute__((dllexport)) PyObject * _PyObject_New(PyTypeObject *); __attribute__((dllexport)) PyVarObject * _PyObject_NewVar(PyTypeObject *, Py_ssize_t); #define PyObject_New(type,typeobj) ( (type *) _PyObject_New(typeobj) ) #define PyObject_NewVar(type,typeobj,n) ( (type *) _PyObject_NewVar((typeobj), (n)) ) #define PyObject_INIT(op,typeobj) ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) ) #define PyObject_INIT_VAR(op,typeobj,size) ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) ) #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) # 183 "./Include/objimpl.h" #define _PyObject_VAR_SIZE(typeobj,nitems) _Py_SIZE_ROUND_UP((typeobj)->tp_basicsize + (nitems)*(typeobj)->tp_itemsize, SIZEOF_VOID_P) #define PyObject_NEW(type,typeobj) ( (type *) PyObject_Init( (PyObject *) PyObject_MALLOC( _PyObject_SIZE(typeobj) ), (typeobj)) ) #define PyObject_NEW_VAR(type,typeobj,n) ( (type *) PyObject_InitVar( (PyVarObject *) PyObject_MALLOC(_PyObject_VAR_SIZE((typeobj),(n)) ), (typeobj), (n)) ) # 231 "./Include/objimpl.h" __attribute__((dllexport)) Py_ssize_t PyGC_Collect(void); #define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC) #define PyObject_IS_GC(o) (PyType_IS_GC(Py_TYPE(o)) && (Py_TYPE(o)->tp_is_gc == NULL || Py_TYPE(o)->tp_is_gc(o))) __attribute__((dllexport)) PyVarObject * _PyObject_GC_Resize(PyVarObject *, Py_ssize_t); #define PyObject_GC_Resize(type,op,n) ( (type *) _PyObject_GC_Resize((PyVarObject *)(op), (n)) ) typedef union _gc_head { struct { union _gc_head *gc_next; union _gc_head *gc_prev; Py_ssize_t gc_refs; } gc; long double dummy; } PyGC_Head; extern PyGC_Head *_PyGC_generation0; #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1) #define _PyGC_REFS_UNTRACKED (-2) #define _PyGC_REFS_REACHABLE (-3) #define _PyGC_REFS_TENTATIVELY_UNREACHABLE (-4) #define _PyObject_GC_TRACK(o) do { PyGC_Head *g = _Py_AS_GC(o); if (g->gc.gc_refs != _PyGC_REFS_UNTRACKED) Py_FatalError("GC object already tracked"); g->gc.gc_refs = _PyGC_REFS_REACHABLE; g->gc.gc_next = _PyGC_generation0; g->gc.gc_prev = _PyGC_generation0->gc.gc_prev; g->gc.gc_prev->gc.gc_next = g; _PyGC_generation0->gc.gc_prev = g; } while (0); # 280 "./Include/objimpl.h" #define _PyObject_GC_UNTRACK(o) do { PyGC_Head *g = _Py_AS_GC(o); assert(g->gc.gc_refs != _PyGC_REFS_UNTRACKED); g->gc.gc_refs = _PyGC_REFS_UNTRACKED; g->gc.gc_prev->gc.gc_next = g->gc.gc_next; g->gc.gc_next->gc.gc_prev = g->gc.gc_prev; g->gc.gc_next = NULL; } while (0); # 290 "./Include/objimpl.h" #define _PyObject_GC_IS_TRACKED(o) ((_Py_AS_GC(o))->gc.gc_refs != _PyGC_REFS_UNTRACKED) #define _PyObject_GC_MAY_BE_TRACKED(obj) (PyObject_IS_GC(obj) && (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj))) __attribute__((dllexport)) PyObject * _PyObject_GC_Malloc(size_t); __attribute__((dllexport)) PyObject * _PyObject_GC_New(PyTypeObject *); __attribute__((dllexport)) PyVarObject * _PyObject_GC_NewVar(PyTypeObject *, Py_ssize_t); __attribute__((dllexport)) void PyObject_GC_Track(void *); __attribute__((dllexport)) void PyObject_GC_UnTrack(void *); __attribute__((dllexport)) void PyObject_GC_Del(void *); #define PyObject_GC_New(type,typeobj) ( (type *) _PyObject_GC_New(typeobj) ) #define PyObject_GC_NewVar(type,typeobj,n) ( (type *) _PyObject_GC_NewVar((typeobj), (n)) ) # 318 "./Include/objimpl.h" #define Py_VISIT(op) do { if (op) { int vret = visit((PyObject *)(op), arg); if (vret) return vret; } } while (0) # 329 "./Include/objimpl.h" #define PyType_SUPPORTS_WEAKREFS(t) ((t)->tp_weaklistoffset > 0) #define PyObject_GET_WEAKREFS_LISTPTR(o) ((PyObject **) (((char *) (o)) + Py_TYPE(o)->tp_weaklistoffset)) # 70 "./Include/Python.h" 2 # 1 "./Include/typeslots.h" 1 #undef Py_bf_getbuffer #undef Py_bf_releasebuffer #define Py_mp_ass_subscript 3 #define Py_mp_length 4 #define Py_mp_subscript 5 #define Py_nb_absolute 6 #define Py_nb_add 7 #define Py_nb_and 8 #define Py_nb_bool 9 #define Py_nb_divmod 10 #define Py_nb_float 11 #define Py_nb_floor_divide 12 #define Py_nb_index 13 #define Py_nb_inplace_add 14 #define Py_nb_inplace_and 15 #define Py_nb_inplace_floor_divide 16 #define Py_nb_inplace_lshift 17 #define Py_nb_inplace_multiply 18 #define Py_nb_inplace_or 19 #define Py_nb_inplace_power 20 #define Py_nb_inplace_remainder 21 #define Py_nb_inplace_rshift 22 #define Py_nb_inplace_subtract 23 #define Py_nb_inplace_true_divide 24 #define Py_nb_inplace_xor 25 #define Py_nb_int 26 #define Py_nb_invert 27 #define Py_nb_lshift 28 #define Py_nb_multiply 29 #define Py_nb_negative 30 #define Py_nb_or 31 #define Py_nb_positive 32 #define Py_nb_power 33 #define Py_nb_remainder 34 #define Py_nb_rshift 35 #define Py_nb_subtract 36 #define Py_nb_true_divide 37 #define Py_nb_xor 38 #define Py_sq_ass_item 39 #define Py_sq_concat 40 #define Py_sq_contains 41 #define Py_sq_inplace_concat 42 #define Py_sq_inplace_repeat 43 #define Py_sq_item 44 #define Py_sq_length 45 #define Py_sq_repeat 46 #define Py_tp_alloc 47 #define Py_tp_base 48 #define Py_tp_bases 49 #define Py_tp_call 50 #define Py_tp_clear 51 #define Py_tp_dealloc 52 #define Py_tp_del 53 #define Py_tp_descr_get 54 #define Py_tp_descr_set 55 #define Py_tp_doc 56 #define Py_tp_getattr 57 #define Py_tp_getattro 58 #define Py_tp_hash 59 #define Py_tp_init 60 #define Py_tp_is_gc 61 #define Py_tp_iter 62 #define Py_tp_iternext 63 #define Py_tp_methods 64 #define Py_tp_new 65 #define Py_tp_repr 66 #define Py_tp_richcompare 67 #define Py_tp_setattr 68 #define Py_tp_setattro 69 #define Py_tp_str 70 #define Py_tp_traverse 71 #define Py_tp_members 72 #define Py_tp_getset 73 #define Py_tp_free 74 # 71 "./Include/Python.h" 2 # 1 "./Include/pydebug.h" 1 #define Py_PYDEBUG_H extern __attribute__((dllexport)) int Py_DebugFlag; extern __attribute__((dllexport)) int Py_VerboseFlag; extern __attribute__((dllexport)) int Py_QuietFlag; extern __attribute__((dllexport)) int Py_InteractiveFlag; extern __attribute__((dllexport)) int Py_InspectFlag; extern __attribute__((dllexport)) int Py_OptimizeFlag; extern __attribute__((dllexport)) int Py_NoSiteFlag; extern __attribute__((dllexport)) int Py_BytesWarningFlag; extern __attribute__((dllexport)) int Py_UseClassExceptionsFlag; extern __attribute__((dllexport)) int Py_FrozenFlag; extern __attribute__((dllexport)) int Py_IgnoreEnvironmentFlag; extern __attribute__((dllexport)) int Py_DontWriteBytecodeFlag; extern __attribute__((dllexport)) int Py_NoUserSiteDirectory; extern __attribute__((dllexport)) int Py_UnbufferedStdioFlag; extern __attribute__((dllexport)) int Py_HashRandomizationFlag; #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) # 73 "./Include/Python.h" 2 # 1 "./Include/bytearrayobject.h" 1 #define Py_BYTEARRAYOBJECT_H # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stdarg.h" 1 3 4 # 31 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stdarg.h" 3 4 #define _STDARG_H #define _ANSI_STDARG_H_ #undef __need___va_list # 47 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stdarg.h" 3 4 #define va_start(v,l) __builtin_va_start(v,l) #define va_end(v) __builtin_va_end(v) #define va_arg(v,l) __builtin_va_arg(v,l) #define va_copy(d,s) __builtin_va_copy(d,s) #define __va_copy(d,s) __builtin_va_copy(d,s) # 102 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stdarg.h" 3 4 typedef __gnuc_va_list va_list; #define _VA_LIST_ #define _VA_LIST #define _VA_LIST_DEFINED #define _VA_LIST_T_H #define __va_list__ # 10 "./Include/bytearrayobject.h" 2 # 23 "./Include/bytearrayobject.h" typedef struct { PyVarObject ob_base; int ob_exports; Py_ssize_t ob_alloc; char *ob_bytes; } PyByteArrayObject; extern __attribute__((dllexport)) PyTypeObject PyByteArray_Type; extern __attribute__((dllexport)) PyTypeObject PyByteArrayIter_Type; #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) #define PyByteArray_CheckExact(self) (Py_TYPE(self) == &PyByteArray_Type) __attribute__((dllexport)) PyObject * PyByteArray_FromObject(PyObject *); __attribute__((dllexport)) PyObject * PyByteArray_Concat(PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyByteArray_FromStringAndSize(const char *, Py_ssize_t); __attribute__((dllexport)) Py_ssize_t PyByteArray_Size(PyObject *); __attribute__((dllexport)) char * PyByteArray_AsString(PyObject *); __attribute__((dllexport)) int PyByteArray_Resize(PyObject *, Py_ssize_t); #define PyByteArray_AS_STRING(self) (assert(PyByteArray_Check(self)), Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string) #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self)) extern __attribute__((dllexport)) char _PyByteArray_empty_string[]; # 75 "./Include/Python.h" 2 # 1 "./Include/bytesobject.h" 1 #define Py_BYTESOBJECT_H # 31 "./Include/bytesobject.h" typedef struct { PyVarObject ob_base; Py_hash_t ob_shash; char ob_sval[1]; } PyBytesObject; extern __attribute__((dllexport)) PyTypeObject PyBytes_Type; extern __attribute__((dllexport)) PyTypeObject PyBytesIter_Type; #define PyBytes_Check(op) PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS) #define PyBytes_CheckExact(op) (Py_TYPE(op) == &PyBytes_Type) __attribute__((dllexport)) PyObject * PyBytes_FromStringAndSize(const char *, Py_ssize_t); __attribute__((dllexport)) PyObject * PyBytes_FromString(const char *); __attribute__((dllexport)) PyObject * PyBytes_FromObject(PyObject *); __attribute__((dllexport)) PyObject * PyBytes_FromFormatV(const char*, va_list) __attribute__((format(printf, 1, 0))); __attribute__((dllexport)) PyObject * PyBytes_FromFormat(const char*, ...) __attribute__((format(printf, 1, 2))); __attribute__((dllexport)) Py_ssize_t PyBytes_Size(PyObject *); __attribute__((dllexport)) char * PyBytes_AsString(PyObject *); __attribute__((dllexport)) PyObject * PyBytes_Repr(PyObject *, int); __attribute__((dllexport)) void PyBytes_Concat(PyObject **, PyObject *); __attribute__((dllexport)) void PyBytes_ConcatAndDel(PyObject **, PyObject *); __attribute__((dllexport)) int _PyBytes_Resize(PyObject **, Py_ssize_t); __attribute__((dllexport)) PyObject * PyBytes_DecodeEscape(const char *, Py_ssize_t, const char *, Py_ssize_t, const char *); #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), (((PyBytesObject *)(op))->ob_sval)) #define PyBytes_GET_SIZE(op) (assert(PyBytes_Check(op)),Py_SIZE(op)) __attribute__((dllexport)) PyObject * _PyBytes_Join(PyObject *sep, PyObject *x); __attribute__((dllexport)) int PyBytes_AsStringAndSize( register PyObject *obj, register char **s, register Py_ssize_t *len ); __attribute__((dllexport)) Py_ssize_t _PyBytes_InsertThousandsGroupingLocale(char *buffer, Py_ssize_t n_buffer, char *digits, Py_ssize_t n_digits, Py_ssize_t min_width); __attribute__((dllexport)) Py_ssize_t _PyBytes_InsertThousandsGrouping(char *buffer, Py_ssize_t n_buffer, char *digits, Py_ssize_t n_digits, Py_ssize_t min_width, const char *grouping, const char *thousands_sep); #define F_LJUST (1<<0) #define F_SIGN (1<<1) #define F_BLANK (1<<2) #define F_ALT (1<<3) #define F_ZERO (1<<4) # 76 "./Include/Python.h" 2 # 1 "./Include/unicodeobject.h" 1 #define Py_UNICODEOBJECT_H # 58 "./Include/unicodeobject.h" # 1 "/usr/include/ctype.h" 1 3 4 #define _CTYPE_H_ int __attribute__((__cdecl__)) isalnum (int __c); int __attribute__((__cdecl__)) isalpha (int __c); int __attribute__((__cdecl__)) iscntrl (int __c); int __attribute__((__cdecl__)) isdigit (int __c); int __attribute__((__cdecl__)) isgraph (int __c); int __attribute__((__cdecl__)) islower (int __c); int __attribute__((__cdecl__)) isprint (int __c); int __attribute__((__cdecl__)) ispunct (int __c); int __attribute__((__cdecl__)) isspace (int __c); int __attribute__((__cdecl__)) isupper (int __c); int __attribute__((__cdecl__)) isxdigit (int __c); int __attribute__((__cdecl__)) tolower (int __c); int __attribute__((__cdecl__)) toupper (int __c); int __attribute__((__cdecl__)) isblank (int __c); int __attribute__((__cdecl__)) isascii (int __c); int __attribute__((__cdecl__)) toascii (int __c); #define _tolower(__c) ((unsigned char)(__c) - 'A' + 'a') #define _toupper(__c) ((unsigned char)(__c) - 'a' + 'A') #define _U 01 #define _L 02 #define _N 04 #define _S 010 #define _P 020 #define _C 040 #define _X 0100 #define _B 0200 extern __attribute__((dllimport)) char *__ctype_ptr__; # 57 "/usr/include/ctype.h" 3 4 #define __ctype_lookup(__c) ((__ctype_ptr__+sizeof(""[__c]))[(int)(__c)]) #define isalpha(__c) (__ctype_lookup(__c)&(_U|_L)) #define isupper(__c) ((__ctype_lookup(__c)&(_U|_L))==_U) #define islower(__c) ((__ctype_lookup(__c)&(_U|_L))==_L) #define isdigit(__c) (__ctype_lookup(__c)&_N) #define isxdigit(__c) (__ctype_lookup(__c)&(_X|_N)) #define isspace(__c) (__ctype_lookup(__c)&_S) #define ispunct(__c) (__ctype_lookup(__c)&_P) #define isalnum(__c) (__ctype_lookup(__c)&(_U|_L|_N)) #define isprint(__c) (__ctype_lookup(__c)&(_P|_U|_L|_N|_B)) #define isgraph(__c) (__ctype_lookup(__c)&(_P|_U|_L|_N)) #define iscntrl(__c) (__ctype_lookup(__c)&_C) #define isblank(__c) __extension__ ({ __typeof__ (__c) __x = (__c); (__ctype_lookup(__x)&_B) || (int) (__x) == '\t';}) # 93 "/usr/include/ctype.h" 3 4 #define toupper(__c) __extension__ ({ __typeof__ (__c) __x = (__c); (void) __ctype_ptr__[__x]; (toupper) (__x);}) #define tolower(__c) __extension__ ({ __typeof__ (__c) __x = (__c); (void) __ctype_ptr__[__x]; (tolower) (__x);}) #define isascii(__c) ((unsigned)(__c)<=0177) #define toascii(__c) ((__c)&0177) extern __attribute__((dllimport)) const char _ctype_[]; # 59 "./Include/unicodeobject.h" 2 #define Py_USING_UNICODE #define Py_UNICODE_SIZE SIZEOF_WCHAR_T # 92 "./Include/unicodeobject.h" #define PY_UNICODE_TYPE wchar_t typedef wchar_t Py_UNICODE; # 115 "./Include/unicodeobject.h" # 1 "/usr/include/wchar.h" 1 3 4 #define _WCHAR_H_ #define __need_size_t #define __need_wchar_t #define __need_wint_t # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 160 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 233 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_size_t # 342 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_wchar_t # 354 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef __need_wint_t # 395 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 12 "/usr/include/wchar.h" 2 3 4 #define __need___va_list # 27 "/usr/include/wchar.h" 3 4 #define WEOF ((wint_t)-1) # 42 "/usr/include/wchar.h" 3 4 struct tm; #define _MBSTATE_T typedef _mbstate_t mbstate_t; wint_t __attribute__((__cdecl__)) btowc (int); int __attribute__((__cdecl__)) wctob (wint_t); size_t __attribute__((__cdecl__)) mbrlen (const char * , size_t, mbstate_t *); size_t __attribute__((__cdecl__)) mbrtowc (wchar_t * , const char * , size_t, mbstate_t *); size_t __attribute__((__cdecl__)) _mbrtowc_r (struct _reent *, wchar_t * , const char * , size_t, mbstate_t *) ; int __attribute__((__cdecl__)) mbsinit (const mbstate_t *); size_t __attribute__((__cdecl__)) mbsnrtowcs (wchar_t * , const char ** , size_t, size_t, mbstate_t *) ; size_t __attribute__((__cdecl__)) _mbsnrtowcs_r (struct _reent *, wchar_t * , const char ** , size_t, size_t, mbstate_t *) ; size_t __attribute__((__cdecl__)) mbsrtowcs (wchar_t * , const char ** , size_t, mbstate_t *); size_t __attribute__((__cdecl__)) _mbsrtowcs_r (struct _reent *, wchar_t * , const char ** , size_t, mbstate_t *); size_t __attribute__((__cdecl__)) wcrtomb (char * , wchar_t, mbstate_t *); size_t __attribute__((__cdecl__)) _wcrtomb_r (struct _reent *, char * , wchar_t, mbstate_t *); size_t __attribute__((__cdecl__)) wcsnrtombs (char * , const wchar_t ** , size_t, size_t, mbstate_t *) ; size_t __attribute__((__cdecl__)) _wcsnrtombs_r (struct _reent *, char * , const wchar_t ** , size_t, size_t, mbstate_t *) ; size_t __attribute__((__cdecl__)) wcsrtombs (char * , const wchar_t ** , size_t, mbstate_t *); size_t __attribute__((__cdecl__)) _wcsrtombs_r (struct _reent *, char * , const wchar_t ** , size_t, mbstate_t *) ; int __attribute__((__cdecl__)) wcscasecmp (const wchar_t *, const wchar_t *); wchar_t *__attribute__((__cdecl__)) wcscat (wchar_t * , const wchar_t *); wchar_t *__attribute__((__cdecl__)) wcschr (const wchar_t *, wchar_t); int __attribute__((__cdecl__)) wcscmp (const wchar_t *, const wchar_t *); int __attribute__((__cdecl__)) wcscoll (const wchar_t *, const wchar_t *); wchar_t *__attribute__((__cdecl__)) wcscpy (wchar_t * , const wchar_t *); wchar_t *__attribute__((__cdecl__)) wcpcpy (wchar_t * , const wchar_t *); wchar_t *__attribute__((__cdecl__)) wcsdup (const wchar_t *); wchar_t *__attribute__((__cdecl__)) _wcsdup_r (struct _reent *, const wchar_t * ); size_t __attribute__((__cdecl__)) wcscspn (const wchar_t *, const wchar_t *); size_t __attribute__((__cdecl__)) wcsftime (wchar_t *, size_t, const wchar_t *, const struct tm *); size_t __attribute__((__cdecl__)) wcslcat (wchar_t *, const wchar_t *, size_t); size_t __attribute__((__cdecl__)) wcslcpy (wchar_t *, const wchar_t *, size_t); size_t __attribute__((__cdecl__)) wcslen (const wchar_t *); int __attribute__((__cdecl__)) wcsncasecmp (const wchar_t *, const wchar_t *, size_t); wchar_t *__attribute__((__cdecl__)) wcsncat (wchar_t * , const wchar_t * , size_t); int __attribute__((__cdecl__)) wcsncmp (const wchar_t *, const wchar_t *, size_t); wchar_t *__attribute__((__cdecl__)) wcsncpy (wchar_t * , const wchar_t * , size_t); wchar_t *__attribute__((__cdecl__)) wcpncpy (wchar_t * , const wchar_t * , size_t); size_t __attribute__((__cdecl__)) wcsnlen (const wchar_t *, size_t); wchar_t *__attribute__((__cdecl__)) wcspbrk (const wchar_t *, const wchar_t *); wchar_t *__attribute__((__cdecl__)) wcsrchr (const wchar_t *, wchar_t); size_t __attribute__((__cdecl__)) wcsspn (const wchar_t *, const wchar_t *); wchar_t *__attribute__((__cdecl__)) wcsstr (const wchar_t *, const wchar_t *); wchar_t *__attribute__((__cdecl__)) wcstok (wchar_t *, const wchar_t *, wchar_t **); double __attribute__((__cdecl__)) wcstod (const wchar_t *, wchar_t **); double __attribute__((__cdecl__)) _wcstod_r (struct _reent *, const wchar_t *, wchar_t **); float __attribute__((__cdecl__)) wcstof (const wchar_t *, wchar_t **); float __attribute__((__cdecl__)) _wcstof_r (struct _reent *, const wchar_t *, wchar_t **); int __attribute__((__cdecl__)) wcswidth (const wchar_t *, size_t); size_t __attribute__((__cdecl__)) wcsxfrm (wchar_t *, const wchar_t *, size_t); int __attribute__((__cdecl__)) wcwidth (const wchar_t); wchar_t *__attribute__((__cdecl__)) wmemchr (const wchar_t *, wchar_t, size_t); int __attribute__((__cdecl__)) wmemcmp (const wchar_t *, const wchar_t *, size_t); wchar_t *__attribute__((__cdecl__)) wmemcpy (wchar_t * , const wchar_t * , size_t); wchar_t *__attribute__((__cdecl__)) wmemmove (wchar_t *, const wchar_t *, size_t); wchar_t *__attribute__((__cdecl__)) wmemset (wchar_t *, wchar_t, size_t); long __attribute__((__cdecl__)) wcstol (const wchar_t *, wchar_t **, int); long long __attribute__((__cdecl__)) wcstoll (const wchar_t *, wchar_t **, int); unsigned long __attribute__((__cdecl__)) wcstoul (const wchar_t *, wchar_t **, int); unsigned long long __attribute__((__cdecl__)) wcstoull (const wchar_t *, wchar_t **, int); long __attribute__((__cdecl__)) _wcstol_r (struct _reent *, const wchar_t *, wchar_t **, int); long long __attribute__((__cdecl__)) _wcstoll_r (struct _reent *, const wchar_t *, wchar_t **, int); unsigned long __attribute__((__cdecl__)) _wcstoul_r (struct _reent *, const wchar_t *, wchar_t **, int); unsigned long long __attribute__((__cdecl__)) _wcstoull_r (struct _reent *, const wchar_t *, wchar_t **, int); wint_t __attribute__((__cdecl__)) fgetwc (__FILE *); wchar_t *__attribute__((__cdecl__)) fgetws (wchar_t *, int, __FILE *); wint_t __attribute__((__cdecl__)) fputwc (wchar_t, __FILE *); int __attribute__((__cdecl__)) fputws (const wchar_t *, __FILE *); int __attribute__((__cdecl__)) fwide (__FILE *, int); wint_t __attribute__((__cdecl__)) getwc (__FILE *); wint_t __attribute__((__cdecl__)) getwchar (void); wint_t __attribute__((__cdecl__)) putwc (wchar_t, __FILE *); wint_t __attribute__((__cdecl__)) putwchar (wchar_t); wint_t __attribute__((__cdecl__)) ungetwc (wint_t wc, __FILE *); wint_t __attribute__((__cdecl__)) _fgetwc_r (struct _reent *, __FILE *); wchar_t *__attribute__((__cdecl__)) _fgetws_r (struct _reent *, wchar_t *, int, __FILE *); wint_t __attribute__((__cdecl__)) _fputwc_r (struct _reent *, wchar_t, __FILE *); int __attribute__((__cdecl__)) _fputws_r (struct _reent *, const wchar_t *, __FILE *); int __attribute__((__cdecl__)) _fwide_r (struct _reent *, __FILE *, int); wint_t __attribute__((__cdecl__)) _getwc_r (struct _reent *, __FILE *); wint_t __attribute__((__cdecl__)) _getwchar_r (struct _reent *ptr); wint_t __attribute__((__cdecl__)) _putwc_r (struct _reent *, wchar_t, __FILE *); wint_t __attribute__((__cdecl__)) _putwchar_r (struct _reent *, wchar_t); wint_t __attribute__((__cdecl__)) _ungetwc_r (struct _reent *, wint_t wc, __FILE *); __FILE *__attribute__((__cdecl__)) open_wmemstream (wchar_t **, size_t *); __FILE *__attribute__((__cdecl__)) _open_wmemstream_r (struct _reent *, wchar_t **, size_t *); # 155 "/usr/include/wchar.h" 3 4 int __attribute__((__cdecl__)) fwprintf (__FILE *, const wchar_t *, ...); int __attribute__((__cdecl__)) swprintf (wchar_t *, size_t, const wchar_t *, ...); int __attribute__((__cdecl__)) vfwprintf (__FILE *, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) vswprintf (wchar_t *, size_t, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) vwprintf (const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) wprintf (const wchar_t *, ...); int __attribute__((__cdecl__)) _fwprintf_r (struct _reent *, __FILE *, const wchar_t *, ...); int __attribute__((__cdecl__)) _swprintf_r (struct _reent *, wchar_t *, size_t, const wchar_t *, ...); int __attribute__((__cdecl__)) _vfwprintf_r (struct _reent *, __FILE *, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) _vswprintf_r (struct _reent *, wchar_t *, size_t, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) _vwprintf_r (struct _reent *, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) _wprintf_r (struct _reent *, const wchar_t *, ...); int __attribute__((__cdecl__)) fwscanf (__FILE *, const wchar_t *, ...); int __attribute__((__cdecl__)) swscanf (const wchar_t *, const wchar_t *, ...); int __attribute__((__cdecl__)) vfwscanf (__FILE *, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) vswscanf (const wchar_t *, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) vwscanf (const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) wscanf (const wchar_t *, ...); int __attribute__((__cdecl__)) _fwscanf_r (struct _reent *, __FILE *, const wchar_t *, ...); int __attribute__((__cdecl__)) _swscanf_r (struct _reent *, const wchar_t *, const wchar_t *, ...); int __attribute__((__cdecl__)) _vfwscanf_r (struct _reent *, __FILE *, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) _vswscanf_r (struct _reent *, const wchar_t *, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) _vwscanf_r (struct _reent *, const wchar_t *, __gnuc_va_list); int __attribute__((__cdecl__)) _wscanf_r (struct _reent *, const wchar_t *, ...); #define getwc(fp) fgetwc(fp) #define putwc(wc,fp) fputwc((wc), (fp)) #define getwchar() fgetwc(_REENT->_stdin) #define putwchar(wc) fputwc((wc), _REENT->_stdout) # 116 "./Include/unicodeobject.h" 2 typedef unsigned int Py_UCS4; typedef unsigned short Py_UCS2; typedef unsigned char Py_UCS1; # 145 "./Include/unicodeobject.h" #define Py_UNICODE_ISSPACE(ch) ((ch) < 128U ? _Py_ascii_whitespace[(ch)] : _PyUnicode_IsWhitespace(ch)) #define Py_UNICODE_ISLOWER(ch) _PyUnicode_IsLowercase(ch) #define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch) #define Py_UNICODE_ISTITLE(ch) _PyUnicode_IsTitlecase(ch) #define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch) #define Py_UNICODE_TOLOWER(ch) _PyUnicode_ToLowercase(ch) #define Py_UNICODE_TOUPPER(ch) _PyUnicode_ToUppercase(ch) #define Py_UNICODE_TOTITLE(ch) _PyUnicode_ToTitlecase(ch) #define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch) #define Py_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch) #define Py_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch) #define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch) #define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch) #define Py_UNICODE_TODIGIT(ch) _PyUnicode_ToDigit(ch) #define Py_UNICODE_TONUMERIC(ch) _PyUnicode_ToNumeric(ch) #define Py_UNICODE_ISALPHA(ch) _PyUnicode_IsAlpha(ch) #define Py_UNICODE_ISALNUM(ch) (Py_UNICODE_ISALPHA(ch) || Py_UNICODE_ISDECIMAL(ch) || Py_UNICODE_ISDIGIT(ch) || Py_UNICODE_ISNUMERIC(ch)) #define Py_UNICODE_COPY(target,source,length) Py_MEMCPY((target), (source), (length)*sizeof(Py_UNICODE)) #define Py_UNICODE_FILL(target,value,length) do {Py_ssize_t i_; Py_UNICODE *t_ = (target); Py_UNICODE v_ = (value); for (i_ = 0; i_ < (length); i_++) t_[i_] = v_; } while (0) #define Py_UNICODE_IS_SURROGATE(ch) (0xD800 <= ch && ch <= 0xDFFF) #define Py_UNICODE_IS_HIGH_SURROGATE(ch) (0xD800 <= ch && ch <= 0xDBFF) #define Py_UNICODE_IS_LOW_SURROGATE(ch) (0xDC00 <= ch && ch <= 0xDFFF) #define Py_UNICODE_JOIN_SURROGATES(high,low) (((((Py_UCS4)(high) & 0x03FF) << 10) | ((Py_UCS4)(low) & 0x03FF)) + 0x10000) #define Py_UNICODE_HIGH_SURROGATE(ch) (0xD800 - (0x10000 >> 10) + ((ch) >> 10)) #define Py_UNICODE_LOW_SURROGATE(ch) (0xDC00 + ((ch) & 0x3FF)) #define Py_UNICODE_MATCH(string,offset,substring) ((*((string)->wstr + (offset)) == *((substring)->wstr)) && ((*((string)->wstr + (offset) + (substring)->wstr_length-1) == *((substring)->wstr + (substring)->wstr_length-1))) && !memcmp((string)->wstr + (offset), (substring)->wstr, (substring)->wstr_length*sizeof(Py_UNICODE))) # 217 "./Include/unicodeobject.h" typedef struct { # 291 "./Include/unicodeobject.h" PyObject ob_base; Py_ssize_t length; Py_hash_t hash; struct { # 303 "./Include/unicodeobject.h" unsigned int interned:2; # 331 "./Include/unicodeobject.h" unsigned int kind:3; unsigned int compact:1; unsigned int ascii:1; unsigned int ready:1; } state; wchar_t *wstr; } PyASCIIObject; typedef struct { PyASCIIObject _base; Py_ssize_t utf8_length; char *utf8; Py_ssize_t wstr_length; } PyCompactUnicodeObject; typedef struct { PyCompactUnicodeObject _base; union { void *any; Py_UCS1 *latin1; Py_UCS2 *ucs2; Py_UCS4 *ucs4; } data; } PyUnicodeObject; extern __attribute__((dllexport)) PyTypeObject PyUnicode_Type; extern __attribute__((dllexport)) PyTypeObject PyUnicodeIter_Type; #define PyUnicode_Check(op) PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS) #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type) #define PyUnicode_WSTR_LENGTH(op) (PyUnicode_IS_COMPACT_ASCII(op) ? ((PyASCIIObject*)op)->length : ((PyCompactUnicodeObject*)op)->wstr_length) # 396 "./Include/unicodeobject.h" #define PyUnicode_GET_SIZE(op) (assert(PyUnicode_Check(op)), (((PyASCIIObject *)(op))->wstr) ? PyUnicode_WSTR_LENGTH(op) : ((void)PyUnicode_AsUnicode((PyObject *)(op)), assert(((PyASCIIObject *)(op))->wstr), PyUnicode_WSTR_LENGTH(op))) #define PyUnicode_GET_DATA_SIZE(op) (PyUnicode_GET_SIZE(op) * Py_UNICODE_SIZE) #define PyUnicode_AS_UNICODE(op) (assert(PyUnicode_Check(op)), (((PyASCIIObject *)(op))->wstr) ? (((PyASCIIObject *)(op))->wstr) : PyUnicode_AsUnicode((PyObject *)(op))) #define PyUnicode_AS_DATA(op) ((const char *)(PyUnicode_AS_UNICODE(op))) # 426 "./Include/unicodeobject.h" #define SSTATE_NOT_INTERNED 0 #define SSTATE_INTERNED_MORTAL 1 #define SSTATE_INTERNED_IMMORTAL 2 #define PyUnicode_IS_ASCII(op) (assert(PyUnicode_Check(op)), assert(PyUnicode_IS_READY(op)), ((PyASCIIObject*)op)->state.ascii) #define PyUnicode_IS_COMPACT(op) (((PyASCIIObject*)(op))->state.compact) #define PyUnicode_IS_COMPACT_ASCII(op) (((PyASCIIObject*)op)->state.ascii && PyUnicode_IS_COMPACT(op)) enum PyUnicode_Kind { PyUnicode_WCHAR_KIND = 0, PyUnicode_1BYTE_KIND = 1, PyUnicode_2BYTE_KIND = 2, PyUnicode_4BYTE_KIND = 4 }; #define PyUnicode_1BYTE_DATA(op) ((Py_UCS1*)PyUnicode_DATA(op)) #define PyUnicode_2BYTE_DATA(op) ((Py_UCS2*)PyUnicode_DATA(op)) #define PyUnicode_4BYTE_DATA(op) ((Py_UCS4*)PyUnicode_DATA(op)) #define PyUnicode_KIND(op) (assert(PyUnicode_Check(op)), assert(PyUnicode_IS_READY(op)), ((PyASCIIObject *)(op))->state.kind) #define _PyUnicode_COMPACT_DATA(op) (PyUnicode_IS_ASCII(op) ? ((void*)((PyASCIIObject*)(op) + 1)) : ((void*)((PyCompactUnicodeObject*)(op) + 1))) #define _PyUnicode_NONCOMPACT_DATA(op) (assert(((PyUnicodeObject*)(op))->data.any), ((((PyUnicodeObject *)(op))->data.any))) #define PyUnicode_DATA(op) (assert(PyUnicode_Check(op)), PyUnicode_IS_COMPACT(op) ? _PyUnicode_COMPACT_DATA(op) : _PyUnicode_NONCOMPACT_DATA(op)) # 498 "./Include/unicodeobject.h" #define PyUnicode_WRITE(kind,data,index,value) do { switch ((kind)) { case PyUnicode_1BYTE_KIND: { ((Py_UCS1 *)(data))[(index)] = (Py_UCS1)(value); break; } case PyUnicode_2BYTE_KIND: { ((Py_UCS2 *)(data))[(index)] = (Py_UCS2)(value); break; } default: { assert((kind) == PyUnicode_4BYTE_KIND); ((Py_UCS4 *)(data))[(index)] = (Py_UCS4)(value); } } } while (0) # 518 "./Include/unicodeobject.h" #define PyUnicode_READ(kind,data,index) ((Py_UCS4) ((kind) == PyUnicode_1BYTE_KIND ? ((const Py_UCS1 *)(data))[(index)] : ((kind) == PyUnicode_2BYTE_KIND ? ((const Py_UCS2 *)(data))[(index)] : ((const Py_UCS4 *)(data))[(index)] ) )) # 532 "./Include/unicodeobject.h" #define PyUnicode_READ_CHAR(unicode,index) (assert(PyUnicode_Check(unicode)), assert(PyUnicode_IS_READY(unicode)), (Py_UCS4) (PyUnicode_KIND((unicode)) == PyUnicode_1BYTE_KIND ? ((const Py_UCS1 *)(PyUnicode_DATA((unicode))))[(index)] : (PyUnicode_KIND((unicode)) == PyUnicode_2BYTE_KIND ? ((const Py_UCS2 *)(PyUnicode_DATA((unicode))))[(index)] : ((const Py_UCS4 *)(PyUnicode_DATA((unicode))))[(index)] ) )) # 547 "./Include/unicodeobject.h" #define PyUnicode_GET_LENGTH(op) (assert(PyUnicode_Check(op)), assert(PyUnicode_IS_READY(op)), ((PyASCIIObject *)(op))->length) # 556 "./Include/unicodeobject.h" #define PyUnicode_IS_READY(op) (((PyASCIIObject*)op)->state.ready) #define PyUnicode_READY(op) (assert(PyUnicode_Check(op)), (PyUnicode_IS_READY(op) ? 0 : _PyUnicode_Ready((PyObject *)(op)))) #define PyUnicode_MAX_CHAR_VALUE(op) (assert(PyUnicode_IS_READY(op)), (PyUnicode_IS_ASCII(op) ? (0x7f) : (PyUnicode_KIND(op) == PyUnicode_1BYTE_KIND ? (0xffU) : (PyUnicode_KIND(op) == PyUnicode_2BYTE_KIND ? (0xffffU) : (0x10ffffU))))) # 589 "./Include/unicodeobject.h" #define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UCS4) 0xFFFD) # 599 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_New( Py_ssize_t size, Py_UCS4 maxchar ); # 613 "./Include/unicodeobject.h" __attribute__((dllexport)) int _PyUnicode_Ready( PyObject *unicode ); __attribute__((dllexport)) PyObject* _PyUnicode_Copy( PyObject *unicode ); # 644 "./Include/unicodeobject.h" __attribute__((dllexport)) Py_ssize_t PyUnicode_CopyCharacters( PyObject *to, Py_ssize_t to_start, PyObject *from, Py_ssize_t from_start, Py_ssize_t how_many ); __attribute__((dllexport)) void _PyUnicode_FastCopyCharacters( PyObject *to, Py_ssize_t to_start, PyObject *from, Py_ssize_t from_start, Py_ssize_t how_many ); # 673 "./Include/unicodeobject.h" __attribute__((dllexport)) Py_ssize_t PyUnicode_Fill( PyObject *unicode, Py_ssize_t start, Py_ssize_t length, Py_UCS4 fill_char ); __attribute__((dllexport)) void _PyUnicode_FastFill( PyObject *unicode, Py_ssize_t start, Py_ssize_t length, Py_UCS4 fill_char ); # 701 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_FromUnicode( const Py_UNICODE *u, Py_ssize_t size ); __attribute__((dllexport)) PyObject* PyUnicode_FromStringAndSize( const char *u, Py_ssize_t size ); __attribute__((dllexport)) PyObject* PyUnicode_FromString( const char *u ); __attribute__((dllexport)) PyObject* PyUnicode_FromKindAndData( int kind, const void *buffer, Py_ssize_t size); __attribute__((dllexport)) PyObject* _PyUnicode_FromASCII( const char *buffer, Py_ssize_t size); __attribute__((dllexport)) PyObject* PyUnicode_Substring( PyObject *str, Py_ssize_t start, Py_ssize_t end); __attribute__((dllexport)) Py_UCS4 _PyUnicode_FindMaxChar ( PyObject *unicode, Py_ssize_t start, Py_ssize_t end); __attribute__((dllexport)) Py_UCS4* PyUnicode_AsUCS4( PyObject *unicode, Py_UCS4* buffer, Py_ssize_t buflen, int copy_null); __attribute__((dllexport)) Py_UCS4* PyUnicode_AsUCS4Copy(PyObject *unicode); __attribute__((dllexport)) Py_UNICODE * PyUnicode_AsUnicode( PyObject *unicode ); # 781 "./Include/unicodeobject.h" __attribute__((dllexport)) Py_UNICODE * PyUnicode_AsUnicodeAndSize( PyObject *unicode, Py_ssize_t *size ); __attribute__((dllexport)) Py_ssize_t PyUnicode_GetLength( PyObject *unicode ); __attribute__((dllexport)) Py_ssize_t PyUnicode_GetSize( PyObject *unicode ); __attribute__((dllexport)) Py_UCS4 PyUnicode_ReadChar( PyObject *unicode, Py_ssize_t index ); __attribute__((dllexport)) int PyUnicode_WriteChar( PyObject *unicode, Py_ssize_t index, Py_UCS4 character ); __attribute__((dllexport)) Py_UNICODE PyUnicode_GetMax(void); # 839 "./Include/unicodeobject.h" __attribute__((dllexport)) int PyUnicode_Resize( PyObject **unicode, Py_ssize_t length ); # 861 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_FromEncodedObject( register PyObject *obj, const char *encoding, const char *errors ); # 880 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_FromObject( register PyObject *obj ); __attribute__((dllexport)) PyObject * PyUnicode_FromFormatV( const char *format, va_list vargs ); __attribute__((dllexport)) PyObject * PyUnicode_FromFormat( const char *format, ... ); typedef struct { PyObject *buffer; void *data; enum PyUnicode_Kind kind; Py_UCS4 maxchar; Py_ssize_t size; Py_ssize_t pos; Py_ssize_t min_length; unsigned char overallocate; unsigned char readonly; } _PyUnicodeWriter ; __attribute__((dllexport)) void _PyUnicodeWriter_Init(_PyUnicodeWriter *writer, Py_ssize_t min_length); #define _PyUnicodeWriter_Prepare(WRITER,LENGTH,MAXCHAR) (((MAXCHAR) <= (WRITER)->maxchar && (LENGTH) <= (WRITER)->size - (WRITER)->pos) ? 0 : (((LENGTH) == 0) ? 0 : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR)))) # 932 "./Include/unicodeobject.h" __attribute__((dllexport)) int _PyUnicodeWriter_PrepareInternal(_PyUnicodeWriter *writer, Py_ssize_t length, Py_UCS4 maxchar); __attribute__((dllexport)) int _PyUnicodeWriter_WriteStr(_PyUnicodeWriter *writer, PyObject *str); __attribute__((dllexport)) PyObject * _PyUnicodeWriter_Finish(_PyUnicodeWriter *writer); __attribute__((dllexport)) void _PyUnicodeWriter_Dealloc(_PyUnicodeWriter *writer); __attribute__((dllexport)) int _PyUnicode_FormatAdvancedWriter( _PyUnicodeWriter *writer, PyObject *obj, PyObject *format_spec, Py_ssize_t start, Py_ssize_t end); __attribute__((dllexport)) void PyUnicode_InternInPlace(PyObject **); __attribute__((dllexport)) void PyUnicode_InternImmortal(PyObject **); __attribute__((dllexport)) PyObject * PyUnicode_InternFromString( const char *u ); __attribute__((dllexport)) void _Py_ReleaseInternedUnicodeStrings(void); #define PyUnicode_CHECK_INTERNED(op) (((PyASCIIObject *)(op))->state.interned) # 979 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_FromWideChar( register const wchar_t *w, Py_ssize_t size ); # 996 "./Include/unicodeobject.h" __attribute__((dllexport)) Py_ssize_t PyUnicode_AsWideChar( PyObject *unicode, register wchar_t *w, Py_ssize_t size ); # 1010 "./Include/unicodeobject.h" __attribute__((dllexport)) wchar_t* PyUnicode_AsWideCharString( PyObject *unicode, Py_ssize_t *size ); __attribute__((dllexport)) void* _PyUnicode_AsKind(PyObject *s, unsigned int kind); # 1030 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_FromOrdinal(int ordinal); # 1041 "./Include/unicodeobject.h" __attribute__((dllexport)) int PyUnicode_ClearFreeList(void); # 1084 "./Include/unicodeobject.h" __attribute__((dllexport)) char * PyUnicode_AsUTF8AndSize( PyObject *unicode, Py_ssize_t *size); #define _PyUnicode_AsStringAndSize PyUnicode_AsUTF8AndSize # 1111 "./Include/unicodeobject.h" __attribute__((dllexport)) char * PyUnicode_AsUTF8(PyObject *unicode); #define _PyUnicode_AsString PyUnicode_AsUTF8 __attribute__((dllexport)) const char* PyUnicode_GetDefaultEncoding(void); __attribute__((dllexport)) PyObject* PyUnicode_Decode( const char *s, Py_ssize_t size, const char *encoding, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsDecodedObject( PyObject *unicode, const char *encoding, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsDecodedUnicode( PyObject *unicode, const char *encoding, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_Encode( const Py_UNICODE *s, Py_ssize_t size, const char *encoding, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsEncodedObject( PyObject *unicode, const char *encoding, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsEncodedString( PyObject *unicode, const char *encoding, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsEncodedUnicode( PyObject *unicode, const char *encoding, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_BuildEncodingMap( PyObject* string ); __attribute__((dllexport)) PyObject* PyUnicode_DecodeUTF7( const char *string, Py_ssize_t length, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_DecodeUTF7Stateful( const char *string, Py_ssize_t length, const char *errors, Py_ssize_t *consumed ); __attribute__((dllexport)) PyObject* PyUnicode_EncodeUTF7( const Py_UNICODE *data, Py_ssize_t length, int base64SetO, int base64WhiteSpace, const char *errors ); __attribute__((dllexport)) PyObject* _PyUnicode_EncodeUTF7( PyObject *unicode, int base64SetO, int base64WhiteSpace, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_DecodeUTF8( const char *string, Py_ssize_t length, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_DecodeUTF8Stateful( const char *string, Py_ssize_t length, const char *errors, Py_ssize_t *consumed ); __attribute__((dllexport)) PyObject* PyUnicode_AsUTF8String( PyObject *unicode ); __attribute__((dllexport)) PyObject* _PyUnicode_AsUTF8String( PyObject *unicode, const char *errors); __attribute__((dllexport)) PyObject* PyUnicode_EncodeUTF8( const Py_UNICODE *data, Py_ssize_t length, const char *errors ); # 1281 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_DecodeUTF32( const char *string, Py_ssize_t length, const char *errors, int *byteorder ); __attribute__((dllexport)) PyObject* PyUnicode_DecodeUTF32Stateful( const char *string, Py_ssize_t length, const char *errors, int *byteorder, Py_ssize_t *consumed ); __attribute__((dllexport)) PyObject* PyUnicode_AsUTF32String( PyObject *unicode ); # 1324 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_EncodeUTF32( const Py_UNICODE *data, Py_ssize_t length, const char *errors, int byteorder ); __attribute__((dllexport)) PyObject* _PyUnicode_EncodeUTF32( PyObject *object, const char *errors, int byteorder ); # 1362 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_DecodeUTF16( const char *string, Py_ssize_t length, const char *errors, int *byteorder ); __attribute__((dllexport)) PyObject* PyUnicode_DecodeUTF16Stateful( const char *string, Py_ssize_t length, const char *errors, int *byteorder, Py_ssize_t *consumed ); __attribute__((dllexport)) PyObject* PyUnicode_AsUTF16String( PyObject *unicode ); # 1409 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_EncodeUTF16( const Py_UNICODE *data, Py_ssize_t length, const char *errors, int byteorder ); __attribute__((dllexport)) PyObject* _PyUnicode_EncodeUTF16( PyObject* unicode, const char *errors, int byteorder ); __attribute__((dllexport)) PyObject* PyUnicode_DecodeUnicodeEscape( const char *string, Py_ssize_t length, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsUnicodeEscapeString( PyObject *unicode ); __attribute__((dllexport)) PyObject* PyUnicode_EncodeUnicodeEscape( const Py_UNICODE *data, Py_ssize_t length ); __attribute__((dllexport)) PyObject* PyUnicode_DecodeRawUnicodeEscape( const char *string, Py_ssize_t length, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsRawUnicodeEscapeString( PyObject *unicode ); __attribute__((dllexport)) PyObject* PyUnicode_EncodeRawUnicodeEscape( const Py_UNICODE *data, Py_ssize_t length ); PyObject *_PyUnicode_DecodeUnicodeInternal( const char *string, Py_ssize_t length, const char *errors ); # 1478 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_DecodeLatin1( const char *string, Py_ssize_t length, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsLatin1String( PyObject *unicode ); __attribute__((dllexport)) PyObject* _PyUnicode_AsLatin1String( PyObject* unicode, const char* errors); __attribute__((dllexport)) PyObject* PyUnicode_EncodeLatin1( const Py_UNICODE *data, Py_ssize_t length, const char *errors ); # 1506 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_DecodeASCII( const char *string, Py_ssize_t length, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsASCIIString( PyObject *unicode ); __attribute__((dllexport)) PyObject* _PyUnicode_AsASCIIString( PyObject* unicode, const char* errors); __attribute__((dllexport)) PyObject* PyUnicode_EncodeASCII( const Py_UNICODE *data, Py_ssize_t length, const char *errors ); # 1550 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_DecodeCharmap( const char *string, Py_ssize_t length, PyObject *mapping, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_AsCharmapString( PyObject *unicode, PyObject *mapping ); __attribute__((dllexport)) PyObject* PyUnicode_EncodeCharmap( const Py_UNICODE *data, Py_ssize_t length, PyObject *mapping, const char *errors ); __attribute__((dllexport)) PyObject* _PyUnicode_EncodeCharmap( PyObject *unicode, PyObject *mapping, const char *errors ); # 1594 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject * PyUnicode_TranslateCharmap( const Py_UNICODE *data, Py_ssize_t length, PyObject *table, const char *errors ); # 1672 "./Include/unicodeobject.h" __attribute__((dllexport)) int PyUnicode_EncodeDecimal( Py_UNICODE *s, Py_ssize_t length, char *output, const char *errors ); # 1687 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_TransformDecimalToASCII( Py_UNICODE *s, Py_ssize_t length ); # 1699 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* _PyUnicode_TransformDecimalAndSpaceToASCII( PyObject *unicode ); # 1714 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_DecodeLocaleAndSize( const char *str, Py_ssize_t len, const char *errors); __attribute__((dllexport)) PyObject* PyUnicode_DecodeLocale( const char *str, const char *errors); __attribute__((dllexport)) PyObject* PyUnicode_EncodeLocale( PyObject *unicode, const char *errors ); __attribute__((dllexport)) int PyUnicode_FSConverter(PyObject*, void*); __attribute__((dllexport)) int PyUnicode_FSDecoder(PyObject*, void*); # 1757 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_DecodeFSDefault( const char *s ); # 1768 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_DecodeFSDefaultAndSize( const char *s, Py_ssize_t size ); # 1780 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_EncodeFSDefault( PyObject *unicode ); # 1792 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_Concat( PyObject *left, PyObject *right ); __attribute__((dllexport)) void PyUnicode_Append( PyObject **pleft, PyObject *right ); __attribute__((dllexport)) void PyUnicode_AppendAndDel( PyObject **pleft, PyObject *right ); # 1824 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_Split( PyObject *s, PyObject *sep, Py_ssize_t maxsplit ); __attribute__((dllexport)) PyObject* PyUnicode_Splitlines( PyObject *s, int keepends ); __attribute__((dllexport)) PyObject* PyUnicode_Partition( PyObject *s, PyObject *sep ); __attribute__((dllexport)) PyObject* PyUnicode_RPartition( PyObject *s, PyObject *sep ); # 1868 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* PyUnicode_RSplit( PyObject *s, PyObject *sep, Py_ssize_t maxsplit ); # 1886 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject * PyUnicode_Translate( PyObject *str, PyObject *table, const char *errors ); __attribute__((dllexport)) PyObject* PyUnicode_Join( PyObject *separator, PyObject *seq ); __attribute__((dllexport)) Py_ssize_t PyUnicode_Tailmatch( PyObject *str, PyObject *substr, Py_ssize_t start, Py_ssize_t end, int direction ); __attribute__((dllexport)) Py_ssize_t PyUnicode_Find( PyObject *str, PyObject *substr, Py_ssize_t start, Py_ssize_t end, int direction ); __attribute__((dllexport)) Py_ssize_t PyUnicode_FindChar( PyObject *str, Py_UCS4 ch, Py_ssize_t start, Py_ssize_t end, int direction ); __attribute__((dllexport)) Py_ssize_t PyUnicode_Count( PyObject *str, PyObject *substr, Py_ssize_t start, Py_ssize_t end ); __attribute__((dllexport)) PyObject * PyUnicode_Replace( PyObject *str, PyObject *substr, PyObject *replstr, Py_ssize_t maxcount ); __attribute__((dllexport)) int PyUnicode_Compare( PyObject *left, PyObject *right ); __attribute__((dllexport)) int PyUnicode_CompareWithASCIIString( PyObject *left, const char *right ); # 1981 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject * PyUnicode_RichCompare( PyObject *left, PyObject *right, int op ); __attribute__((dllexport)) PyObject * PyUnicode_Format( PyObject *format, PyObject *args ); __attribute__((dllexport)) int PyUnicode_Contains( PyObject *container, PyObject *element ); __attribute__((dllexport)) int _PyUnicode_HasNULChars(PyObject *); __attribute__((dllexport)) int PyUnicode_IsIdentifier(PyObject *s); __attribute__((dllexport)) PyObject * _PyUnicode_XStrip( PyObject *self, int striptype, PyObject *sepobj ); __attribute__((dllexport)) Py_ssize_t _PyUnicode_InsertThousandsGrouping( PyObject *unicode, Py_ssize_t index, Py_ssize_t n_buffer, void *digits, Py_ssize_t n_digits, Py_ssize_t min_width, const char *grouping, PyObject *thousands_sep, Py_UCS4 *maxchar); extern __attribute__((dllexport)) const unsigned char _Py_ascii_whitespace[]; # 2054 "./Include/unicodeobject.h" __attribute__((dllexport)) int _PyUnicode_IsLowercase( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsUppercase( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsTitlecase( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsXidStart( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsXidContinue( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsWhitespace( const Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsLinebreak( const Py_UCS4 ch ); __attribute__((dllexport)) Py_UCS4 _PyUnicode_ToLowercase( Py_UCS4 ch ); __attribute__((dllexport)) Py_UCS4 _PyUnicode_ToUppercase( Py_UCS4 ch ); __attribute__((dllexport)) Py_UCS4 _PyUnicode_ToTitlecase( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_ToLowerFull( Py_UCS4 ch, Py_UCS4 *res ); __attribute__((dllexport)) int _PyUnicode_ToTitleFull( Py_UCS4 ch, Py_UCS4 *res ); __attribute__((dllexport)) int _PyUnicode_ToUpperFull( Py_UCS4 ch, Py_UCS4 *res ); __attribute__((dllexport)) int _PyUnicode_ToFoldedFull( Py_UCS4 ch, Py_UCS4 *res ); __attribute__((dllexport)) int _PyUnicode_IsCaseIgnorable( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsCased( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_ToDecimalDigit( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_ToDigit( Py_UCS4 ch ); __attribute__((dllexport)) double _PyUnicode_ToNumeric( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsDecimalDigit( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsDigit( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsNumeric( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsPrintable( Py_UCS4 ch ); __attribute__((dllexport)) int _PyUnicode_IsAlpha( Py_UCS4 ch ); __attribute__((dllexport)) size_t Py_UNICODE_strlen( const Py_UNICODE *u ); __attribute__((dllexport)) Py_UNICODE* Py_UNICODE_strcpy( Py_UNICODE *s1, const Py_UNICODE *s2); __attribute__((dllexport)) Py_UNICODE* Py_UNICODE_strcat( Py_UNICODE *s1, const Py_UNICODE *s2); __attribute__((dllexport)) Py_UNICODE* Py_UNICODE_strncpy( Py_UNICODE *s1, const Py_UNICODE *s2, size_t n); __attribute__((dllexport)) int Py_UNICODE_strcmp( const Py_UNICODE *s1, const Py_UNICODE *s2 ); __attribute__((dllexport)) int Py_UNICODE_strncmp( const Py_UNICODE *s1, const Py_UNICODE *s2, size_t n ); __attribute__((dllexport)) Py_UNICODE* Py_UNICODE_strchr( const Py_UNICODE *s, Py_UNICODE c ); __attribute__((dllexport)) Py_UNICODE* Py_UNICODE_strrchr( const Py_UNICODE *s, Py_UNICODE c ); __attribute__((dllexport)) Py_UNICODE* PyUnicode_AsUnicodeCopy( PyObject *unicode ); # 2207 "./Include/unicodeobject.h" __attribute__((dllexport)) PyObject* _PyUnicode_FromId(_Py_Identifier*); __attribute__((dllexport)) void _PyUnicode_ClearStaticStrings(void); # 77 "./Include/Python.h" 2 # 1 "./Include/longobject.h" 1 #define Py_LONGOBJECT_H typedef struct _longobject PyLongObject; extern __attribute__((dllexport)) PyTypeObject PyLong_Type; #define PyLong_Check(op) PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS) #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type) __attribute__((dllexport)) PyObject * PyLong_FromLong(long); __attribute__((dllexport)) PyObject * PyLong_FromUnsignedLong(unsigned long); __attribute__((dllexport)) PyObject * PyLong_FromSize_t(size_t); __attribute__((dllexport)) PyObject * PyLong_FromSsize_t(Py_ssize_t); __attribute__((dllexport)) PyObject * PyLong_FromDouble(double); __attribute__((dllexport)) long PyLong_AsLong(PyObject *); __attribute__((dllexport)) long PyLong_AsLongAndOverflow(PyObject *, int *); __attribute__((dllexport)) Py_ssize_t PyLong_AsSsize_t(PyObject *); __attribute__((dllexport)) size_t PyLong_AsSize_t(PyObject *); __attribute__((dllexport)) unsigned long PyLong_AsUnsignedLong(PyObject *); __attribute__((dllexport)) unsigned long PyLong_AsUnsignedLongMask(PyObject *); __attribute__((dllexport)) int _PyLong_AsInt(PyObject *); __attribute__((dllexport)) PyObject * PyLong_GetInfo(void); #define PyLong_AS_LONG(op) PyLong_AsLong(op) #define _Py_PARSE_PID "i" #define PyLong_FromPid PyLong_FromLong #define PyLong_AsPid PyLong_AsLong # 57 "./Include/longobject.h" extern __attribute__((dllexport)) unsigned char _PyLong_DigitValue[256]; # 67 "./Include/longobject.h" __attribute__((dllexport)) double _PyLong_Frexp(PyLongObject *a, Py_ssize_t *e); __attribute__((dllexport)) double PyLong_AsDouble(PyObject *); __attribute__((dllexport)) PyObject * PyLong_FromVoidPtr(void *); __attribute__((dllexport)) void * PyLong_AsVoidPtr(PyObject *); __attribute__((dllexport)) PyObject * PyLong_FromLongLong(long long); __attribute__((dllexport)) PyObject * PyLong_FromUnsignedLongLong(unsigned long long); __attribute__((dllexport)) long long PyLong_AsLongLong(PyObject *); __attribute__((dllexport)) unsigned long long PyLong_AsUnsignedLongLong(PyObject *); __attribute__((dllexport)) unsigned long long PyLong_AsUnsignedLongLongMask(PyObject *); __attribute__((dllexport)) long long PyLong_AsLongLongAndOverflow(PyObject *, int *); __attribute__((dllexport)) PyObject * PyLong_FromString(char *, char **, int); __attribute__((dllexport)) PyObject * PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int); __attribute__((dllexport)) PyObject * PyLong_FromUnicodeObject(PyObject *u, int base); __attribute__((dllexport)) int _PyLong_Sign(PyObject *v); # 104 "./Include/longobject.h" __attribute__((dllexport)) size_t _PyLong_NumBits(PyObject *v); __attribute__((dllexport)) PyObject * _PyLong_DivmodNear(PyObject *, PyObject *); # 127 "./Include/longobject.h" __attribute__((dllexport)) PyObject * _PyLong_FromByteArray( const unsigned char* bytes, size_t n, int little_endian, int is_signed); # 150 "./Include/longobject.h" __attribute__((dllexport)) int _PyLong_AsByteArray(PyLongObject* v, unsigned char* bytes, size_t n, int little_endian, int is_signed); __attribute__((dllexport)) PyObject * _PyLong_Format(PyObject *obj, int base); __attribute__((dllexport)) int _PyLong_FormatWriter( _PyUnicodeWriter *writer, PyObject *obj, int base, int alternate); __attribute__((dllexport)) int _PyLong_FormatAdvancedWriter( _PyUnicodeWriter *writer, PyObject *obj, PyObject *format_spec, Py_ssize_t start, Py_ssize_t end); __attribute__((dllexport)) unsigned long PyOS_strtoul(char *, char **, int); __attribute__((dllexport)) long PyOS_strtol(char *, char **, int); # 78 "./Include/Python.h" 2 # 1 "./Include/longintrepr.h" 1 #define Py_LONGINTREPR_H # 57 "./Include/longintrepr.h" typedef unsigned short digit; typedef short sdigit; typedef unsigned long twodigits; typedef long stwodigits; #define PyLong_SHIFT 15 #define _PyLong_DECIMAL_SHIFT 4 #define _PyLong_DECIMAL_BASE ((digit)10000) #define PyLong_BASE ((digit)1 << PyLong_SHIFT) #define PyLong_MASK ((digit)(PyLong_BASE - 1)) # 89 "./Include/longintrepr.h" struct _longobject { PyVarObject ob_base; digit ob_digit[1]; }; __attribute__((dllexport)) PyLongObject * _PyLong_New(Py_ssize_t); __attribute__((dllexport)) PyObject * _PyLong_Copy(PyLongObject *src); # 79 "./Include/Python.h" 2 # 1 "./Include/boolobject.h" 1 #define Py_BOOLOBJECT_H extern __attribute__((dllexport)) PyTypeObject PyBool_Type; #define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type) extern __attribute__((dllexport)) struct _longobject _Py_FalseStruct, _Py_TrueStruct; #define Py_False ((PyObject *) &_Py_FalseStruct) #define Py_True ((PyObject *) &_Py_TrueStruct) #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False __attribute__((dllexport)) PyObject * PyBool_FromLong(long); # 80 "./Include/Python.h" 2 # 1 "./Include/floatobject.h" 1 # 9 "./Include/floatobject.h" #define Py_FLOATOBJECT_H typedef struct { PyObject ob_base; double ob_fval; } PyFloatObject; extern __attribute__((dllexport)) PyTypeObject PyFloat_Type; #define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type) #define PyFloat_CheckExact(op) (Py_TYPE(op) == &PyFloat_Type) #define Py_RETURN_NAN return PyFloat_FromDouble(Py_NAN) #define Py_RETURN_INF(sign) do if (copysign(1., sign) == 1.) { return PyFloat_FromDouble(Py_HUGE_VAL); } else { return PyFloat_FromDouble(-Py_HUGE_VAL); } while(0) __attribute__((dllexport)) double PyFloat_GetMax(void); __attribute__((dllexport)) double PyFloat_GetMin(void); __attribute__((dllexport)) PyObject * PyFloat_GetInfo(void); __attribute__((dllexport)) PyObject * PyFloat_FromString(PyObject*); __attribute__((dllexport)) PyObject * PyFloat_FromDouble(double); __attribute__((dllexport)) double PyFloat_AsDouble(PyObject *); #define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval) # 87 "./Include/floatobject.h" __attribute__((dllexport)) int _PyFloat_Pack4(double x, unsigned char *p, int le); __attribute__((dllexport)) int _PyFloat_Pack8(double x, unsigned char *p, int le); __attribute__((dllexport)) int _PyFloat_Repr(double x, char *p, size_t len); __attribute__((dllexport)) int _PyFloat_Digits(char *buf, double v, int *signum); __attribute__((dllexport)) void _PyFloat_DigitsInit(void); # 107 "./Include/floatobject.h" __attribute__((dllexport)) double _PyFloat_Unpack4(const unsigned char *p, int le); __attribute__((dllexport)) double _PyFloat_Unpack8(const unsigned char *p, int le); __attribute__((dllexport)) int PyFloat_ClearFreeList(void); __attribute__((dllexport)) void _PyFloat_DebugMallocStats(FILE* out); __attribute__((dllexport)) int _PyFloat_FormatAdvancedWriter( _PyUnicodeWriter *writer, PyObject *obj, PyObject *format_spec, Py_ssize_t start, Py_ssize_t end); # 81 "./Include/Python.h" 2 # 1 "./Include/complexobject.h" 1 #define Py_COMPLEXOBJECT_H typedef struct { double real; double imag; } Py_complex; #define c_sum _Py_c_sum #define c_diff _Py_c_diff #define c_neg _Py_c_neg #define c_prod _Py_c_prod #define c_quot _Py_c_quot #define c_pow _Py_c_pow #define c_abs _Py_c_abs __attribute__((dllexport)) Py_complex _Py_c_sum(Py_complex, Py_complex); __attribute__((dllexport)) Py_complex _Py_c_diff(Py_complex, Py_complex); __attribute__((dllexport)) Py_complex _Py_c_neg(Py_complex); __attribute__((dllexport)) Py_complex _Py_c_prod(Py_complex, Py_complex); __attribute__((dllexport)) Py_complex _Py_c_quot(Py_complex, Py_complex); __attribute__((dllexport)) Py_complex _Py_c_pow(Py_complex, Py_complex); __attribute__((dllexport)) double _Py_c_abs(Py_complex); # 41 "./Include/complexobject.h" typedef struct { PyObject ob_base; Py_complex cval; } PyComplexObject; extern __attribute__((dllexport)) PyTypeObject PyComplex_Type; #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type) #define PyComplex_CheckExact(op) (Py_TYPE(op) == &PyComplex_Type) __attribute__((dllexport)) PyObject * PyComplex_FromCComplex(Py_complex); __attribute__((dllexport)) PyObject * PyComplex_FromDoubles(double real, double imag); __attribute__((dllexport)) double PyComplex_RealAsDouble(PyObject *op); __attribute__((dllexport)) double PyComplex_ImagAsDouble(PyObject *op); __attribute__((dllexport)) Py_complex PyComplex_AsCComplex(PyObject *op); __attribute__((dllexport)) int _PyComplex_FormatAdvancedWriter( _PyUnicodeWriter *writer, PyObject *obj, PyObject *format_spec, Py_ssize_t start, Py_ssize_t end); # 82 "./Include/Python.h" 2 # 1 "./Include/rangeobject.h" 1 #define Py_RANGEOBJECT_H # 18 "./Include/rangeobject.h" extern __attribute__((dllexport)) PyTypeObject PyRange_Type; extern __attribute__((dllexport)) PyTypeObject PyRangeIter_Type; extern __attribute__((dllexport)) PyTypeObject PyLongRangeIter_Type; #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type) # 83 "./Include/Python.h" 2 # 1 "./Include/memoryobject.h" 1 #define Py_MEMORYOBJECT_H extern __attribute__((dllexport)) PyTypeObject _PyManagedBuffer_Type; extern __attribute__((dllexport)) PyTypeObject PyMemoryView_Type; #define PyMemoryView_Check(op) (Py_TYPE(op) == &PyMemoryView_Type) #define PyMemoryView_GET_BUFFER(op) (&((PyMemoryViewObject *)(op))->view) #define PyMemoryView_GET_BASE(op) (((PyMemoryViewObject *)(op))->view.obj) __attribute__((dllexport)) PyObject * PyMemoryView_FromObject(PyObject *base); __attribute__((dllexport)) PyObject * PyMemoryView_FromMemory(char *mem, Py_ssize_t size, int flags); __attribute__((dllexport)) PyObject * PyMemoryView_FromBuffer(Py_buffer *info); __attribute__((dllexport)) PyObject * PyMemoryView_GetContiguous(PyObject *base, int buffertype, char order); #define _Py_MANAGED_BUFFER_RELEASED 0x001 #define _Py_MANAGED_BUFFER_FREE_FORMAT 0x002 typedef struct { PyObject ob_base; int flags; Py_ssize_t exports; Py_buffer master; } _PyManagedBufferObject; #define _Py_MEMORYVIEW_MAX_FORMAT 3 #define _Py_MEMORYVIEW_RELEASED 0x001 #define _Py_MEMORYVIEW_C 0x002 #define _Py_MEMORYVIEW_FORTRAN 0x004 #define _Py_MEMORYVIEW_SCALAR 0x008 #define _Py_MEMORYVIEW_PIL 0x010 typedef struct { PyVarObject ob_base; _PyManagedBufferObject *mbuf; Py_hash_t hash; int flags; Py_ssize_t exports; Py_buffer view; char format[3]; PyObject *weakreflist; Py_ssize_t ob_array[1]; } PyMemoryViewObject; # 84 "./Include/Python.h" 2 # 1 "./Include/tupleobject.h" 1 #define Py_TUPLEOBJECT_H # 25 "./Include/tupleobject.h" typedef struct { PyVarObject ob_base; PyObject *ob_item[1]; } PyTupleObject; extern __attribute__((dllexport)) PyTypeObject PyTuple_Type; extern __attribute__((dllexport)) PyTypeObject PyTupleIter_Type; #define PyTuple_Check(op) PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS) #define PyTuple_CheckExact(op) (Py_TYPE(op) == &PyTuple_Type) __attribute__((dllexport)) PyObject * PyTuple_New(Py_ssize_t size); __attribute__((dllexport)) Py_ssize_t PyTuple_Size(PyObject *); __attribute__((dllexport)) PyObject * PyTuple_GetItem(PyObject *, Py_ssize_t); __attribute__((dllexport)) int PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *); __attribute__((dllexport)) PyObject * PyTuple_GetSlice(PyObject *, Py_ssize_t, Py_ssize_t); __attribute__((dllexport)) int _PyTuple_Resize(PyObject **, Py_ssize_t); __attribute__((dllexport)) PyObject * PyTuple_Pack(Py_ssize_t, ...); __attribute__((dllexport)) void _PyTuple_MaybeUntrack(PyObject *); #define PyTuple_GET_ITEM(op,i) (((PyTupleObject *)(op))->ob_item[i]) #define PyTuple_GET_SIZE(op) Py_SIZE(op) #define PyTuple_SET_ITEM(op,i,v) (((PyTupleObject *)(op))->ob_item[i] = v) __attribute__((dllexport)) int PyTuple_ClearFreeList(void); __attribute__((dllexport)) void _PyTuple_DebugMallocStats(FILE *out); # 85 "./Include/Python.h" 2 # 1 "./Include/listobject.h" 1 # 17 "./Include/listobject.h" #define Py_LISTOBJECT_H typedef struct { PyVarObject ob_base; PyObject **ob_item; # 39 "./Include/listobject.h" Py_ssize_t allocated; } PyListObject; extern __attribute__((dllexport)) PyTypeObject PyList_Type; extern __attribute__((dllexport)) PyTypeObject PyListIter_Type; extern __attribute__((dllexport)) PyTypeObject PyListRevIter_Type; extern __attribute__((dllexport)) PyTypeObject PySortWrapper_Type; #define PyList_Check(op) PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS) #define PyList_CheckExact(op) (Py_TYPE(op) == &PyList_Type) __attribute__((dllexport)) PyObject * PyList_New(Py_ssize_t size); __attribute__((dllexport)) Py_ssize_t PyList_Size(PyObject *); __attribute__((dllexport)) PyObject * PyList_GetItem(PyObject *, Py_ssize_t); __attribute__((dllexport)) int PyList_SetItem(PyObject *, Py_ssize_t, PyObject *); __attribute__((dllexport)) int PyList_Insert(PyObject *, Py_ssize_t, PyObject *); __attribute__((dllexport)) int PyList_Append(PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyList_GetSlice(PyObject *, Py_ssize_t, Py_ssize_t); __attribute__((dllexport)) int PyList_SetSlice(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *); __attribute__((dllexport)) int PyList_Sort(PyObject *); __attribute__((dllexport)) int PyList_Reverse(PyObject *); __attribute__((dllexport)) PyObject * PyList_AsTuple(PyObject *); __attribute__((dllexport)) PyObject * _PyList_Extend(PyListObject *, PyObject *); __attribute__((dllexport)) int PyList_ClearFreeList(void); __attribute__((dllexport)) void _PyList_DebugMallocStats(FILE *out); #define PyList_GET_ITEM(op,i) (((PyListObject *)(op))->ob_item[i]) #define PyList_SET_ITEM(op,i,v) (((PyListObject *)(op))->ob_item[i] = (v)) #define PyList_GET_SIZE(op) Py_SIZE(op) # 86 "./Include/Python.h" 2 # 1 "./Include/dictobject.h" 1 #define Py_DICTOBJECT_H # 18 "./Include/dictobject.h" typedef struct _dictkeysobject PyDictKeysObject; typedef struct { PyObject ob_base; Py_ssize_t ma_used; PyDictKeysObject *ma_keys; PyObject **ma_values; } PyDictObject; extern __attribute__((dllexport)) PyTypeObject PyDict_Type; extern __attribute__((dllexport)) PyTypeObject PyDictIterKey_Type; extern __attribute__((dllexport)) PyTypeObject PyDictIterValue_Type; extern __attribute__((dllexport)) PyTypeObject PyDictIterItem_Type; extern __attribute__((dllexport)) PyTypeObject PyDictKeys_Type; extern __attribute__((dllexport)) PyTypeObject PyDictItems_Type; extern __attribute__((dllexport)) PyTypeObject PyDictValues_Type; #define PyDict_Check(op) PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS) #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type) #define PyDictKeys_Check(op) (Py_TYPE(op) == &PyDictKeys_Type) #define PyDictItems_Check(op) (Py_TYPE(op) == &PyDictItems_Type) #define PyDictValues_Check(op) (Py_TYPE(op) == &PyDictValues_Type) #define PyDictViewSet_Check(op) (PyDictKeys_Check(op) || PyDictItems_Check(op)) __attribute__((dllexport)) PyObject * PyDict_New(void); __attribute__((dllexport)) PyObject * PyDict_GetItem(PyObject *mp, PyObject *key); __attribute__((dllexport)) PyObject * PyDict_GetItemWithError(PyObject *mp, PyObject *key); __attribute__((dllexport)) PyObject * _PyDict_GetItemIdWithError(PyObject *dp, struct _Py_Identifier *key); __attribute__((dllexport)) int PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item); __attribute__((dllexport)) int PyDict_DelItem(PyObject *mp, PyObject *key); __attribute__((dllexport)) void PyDict_Clear(PyObject *mp); __attribute__((dllexport)) int PyDict_Next( PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value); PyDictKeysObject *_PyDict_NewKeysForClass(void); __attribute__((dllexport)) PyObject * PyObject_GenericGetDict(PyObject *, void *); __attribute__((dllexport)) int _PyDict_Next( PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash); __attribute__((dllexport)) PyObject * PyDict_Keys(PyObject *mp); __attribute__((dllexport)) PyObject * PyDict_Values(PyObject *mp); __attribute__((dllexport)) PyObject * PyDict_Items(PyObject *mp); __attribute__((dllexport)) Py_ssize_t PyDict_Size(PyObject *mp); __attribute__((dllexport)) PyObject * PyDict_Copy(PyObject *mp); __attribute__((dllexport)) int PyDict_Contains(PyObject *mp, PyObject *key); __attribute__((dllexport)) int _PyDict_Contains(PyObject *mp, PyObject *key, Py_hash_t hash); __attribute__((dllexport)) PyObject * _PyDict_NewPresized(Py_ssize_t minused); __attribute__((dllexport)) void _PyDict_MaybeUntrack(PyObject *mp); __attribute__((dllexport)) int _PyDict_HasOnlyStringKeys(PyObject *mp); Py_ssize_t _PyDict_KeysSize(PyDictKeysObject *keys); #define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL) __attribute__((dllexport)) int PyDict_ClearFreeList(void); __attribute__((dllexport)) int PyDict_Update(PyObject *mp, PyObject *other); __attribute__((dllexport)) int PyDict_Merge(PyObject *mp, PyObject *other, int override); __attribute__((dllexport)) int PyDict_MergeFromSeq2(PyObject *d, PyObject *seq2, int override); __attribute__((dllexport)) PyObject * PyDict_GetItemString(PyObject *dp, const char *key); __attribute__((dllexport)) PyObject * _PyDict_GetItemId(PyObject *dp, struct _Py_Identifier *key); __attribute__((dllexport)) int PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); __attribute__((dllexport)) int _PyDict_SetItemId(PyObject *dp, struct _Py_Identifier *key, PyObject *item); __attribute__((dllexport)) int PyDict_DelItemString(PyObject *dp, const char *key); int _PyObjectDict_SetItem(PyTypeObject *tp, PyObject **dictptr, PyObject *name, PyObject *value); PyObject *_PyDict_LoadGlobal(PyDictObject *, PyDictObject *, PyObject *); __attribute__((dllexport)) void _PyDict_DebugMallocStats(FILE *out); # 87 "./Include/Python.h" 2 # 1 "./Include/enumobject.h" 1 #define Py_ENUMOBJECT_H extern __attribute__((dllexport)) PyTypeObject PyEnum_Type; extern __attribute__((dllexport)) PyTypeObject PyReversed_Type; # 88 "./Include/Python.h" 2 # 1 "./Include/setobject.h" 1 #define Py_SETOBJECT_H # 22 "./Include/setobject.h" #define PySet_MINSIZE 8 typedef struct { Py_hash_t hash; PyObject *key; } setentry; typedef struct _setobject PySetObject; struct _setobject { PyObject ob_base; Py_ssize_t fill; Py_ssize_t used; Py_ssize_t mask; setentry *table; setentry *(*lookup)(PySetObject *so, PyObject *key, Py_hash_t hash); setentry smalltable[8]; Py_hash_t hash; PyObject *weakreflist; }; extern __attribute__((dllexport)) PyTypeObject PySet_Type; extern __attribute__((dllexport)) PyTypeObject PyFrozenSet_Type; extern __attribute__((dllexport)) PyTypeObject PySetIter_Type; # 72 "./Include/setobject.h" #define PyFrozenSet_CheckExact(ob) (Py_TYPE(ob) == &PyFrozenSet_Type) #define PyAnySet_CheckExact(ob) (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type) #define PyAnySet_Check(ob) (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) #define PySet_Check(ob) (Py_TYPE(ob) == &PySet_Type || PyType_IsSubtype(Py_TYPE(ob), &PySet_Type)) #define PyFrozenSet_Check(ob) (Py_TYPE(ob) == &PyFrozenSet_Type || PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) __attribute__((dllexport)) PyObject * PySet_New(PyObject *); __attribute__((dllexport)) PyObject * PyFrozenSet_New(PyObject *); __attribute__((dllexport)) Py_ssize_t PySet_Size(PyObject *anyset); #define PySet_GET_SIZE(so) (((PySetObject *)(so))->used) __attribute__((dllexport)) int PySet_Clear(PyObject *set); __attribute__((dllexport)) int PySet_Contains(PyObject *anyset, PyObject *key); __attribute__((dllexport)) int PySet_Discard(PyObject *set, PyObject *key); __attribute__((dllexport)) int PySet_Add(PyObject *set, PyObject *key); __attribute__((dllexport)) int _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, Py_hash_t *hash); __attribute__((dllexport)) PyObject * PySet_Pop(PyObject *set); __attribute__((dllexport)) int _PySet_Update(PyObject *set, PyObject *iterable); __attribute__((dllexport)) int PySet_ClearFreeList(void); __attribute__((dllexport)) void _PySet_DebugMallocStats(FILE *out); # 89 "./Include/Python.h" 2 # 1 "./Include/methodobject.h" 1 #define Py_METHODOBJECT_H # 14 "./Include/methodobject.h" extern __attribute__((dllexport)) PyTypeObject PyCFunction_Type; #define PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type) typedef PyObject *(*PyCFunction)(PyObject *, PyObject *); typedef PyObject *(*PyCFunctionWithKeywords)(PyObject *, PyObject *, PyObject *); typedef PyObject *(*PyNoArgsFunction)(PyObject *); __attribute__((dllexport)) PyCFunction PyCFunction_GetFunction(PyObject *); __attribute__((dllexport)) PyObject * PyCFunction_GetSelf(PyObject *); __attribute__((dllexport)) int PyCFunction_GetFlags(PyObject *); #define PyCFunction_GET_FUNCTION(func) (((PyCFunctionObject *)func) -> m_ml -> ml_meth) #define PyCFunction_GET_SELF(func) (((PyCFunctionObject *)func) -> m_ml -> ml_flags & METH_STATIC ? NULL : ((PyCFunctionObject *)func) -> m_self) #define PyCFunction_GET_FLAGS(func) (((PyCFunctionObject *)func) -> m_ml -> ml_flags) __attribute__((dllexport)) PyObject * PyCFunction_Call(PyObject *, PyObject *, PyObject *); struct PyMethodDef { const char *ml_name; PyCFunction ml_meth; int ml_flags; const char *ml_doc; }; typedef struct PyMethodDef PyMethodDef; #define PyCFunction_New(ML,SELF) PyCFunction_NewEx((ML), (SELF), NULL) __attribute__((dllexport)) PyObject * PyCFunction_NewEx(PyMethodDef *, PyObject *, PyObject *); #define METH_VARARGS 0x0001 #define METH_KEYWORDS 0x0002 #define METH_NOARGS 0x0004 #define METH_O 0x0008 #define METH_CLASS 0x0010 #define METH_STATIC 0x0020 #define METH_COEXIST 0x0040 typedef struct { PyObject ob_base; PyMethodDef *m_ml; PyObject *m_self; PyObject *m_module; } PyCFunctionObject; __attribute__((dllexport)) int PyCFunction_ClearFreeList(void); __attribute__((dllexport)) void _PyCFunction_DebugMallocStats(FILE *out); __attribute__((dllexport)) void _PyMethod_DebugMallocStats(FILE *out); # 90 "./Include/Python.h" 2 # 1 "./Include/moduleobject.h" 1 #define Py_MODULEOBJECT_H extern __attribute__((dllexport)) PyTypeObject PyModule_Type; #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) #define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type) __attribute__((dllexport)) PyObject * PyModule_NewObject( PyObject *name ); __attribute__((dllexport)) PyObject * PyModule_New( const char *name ); __attribute__((dllexport)) PyObject * PyModule_GetDict(PyObject *); __attribute__((dllexport)) PyObject * PyModule_GetNameObject(PyObject *); __attribute__((dllexport)) const char * PyModule_GetName(PyObject *); __attribute__((dllexport)) const char * PyModule_GetFilename(PyObject *); __attribute__((dllexport)) PyObject * PyModule_GetFilenameObject(PyObject *); __attribute__((dllexport)) void _PyModule_Clear(PyObject *); __attribute__((dllexport)) struct PyModuleDef* PyModule_GetDef(PyObject*); __attribute__((dllexport)) void* PyModule_GetState(PyObject*); typedef struct PyModuleDef_Base { PyObject ob_base; PyObject* (*m_init)(void); Py_ssize_t m_index; PyObject* m_copy; } PyModuleDef_Base; #define PyModuleDef_HEAD_INIT { PyObject_HEAD_INIT(NULL) NULL, 0, NULL, } typedef struct PyModuleDef{ PyModuleDef_Base m_base; const char* m_name; const char* m_doc; Py_ssize_t m_size; PyMethodDef *m_methods; inquiry m_reload; traverseproc m_traverse; inquiry m_clear; freefunc m_free; }PyModuleDef; # 91 "./Include/Python.h" 2 # 1 "./Include/funcobject.h" 1 #define Py_FUNCOBJECT_H # 21 "./Include/funcobject.h" typedef struct { PyObject ob_base; PyObject *func_code; PyObject *func_globals; PyObject *func_defaults; PyObject *func_kwdefaults; PyObject *func_closure; PyObject *func_doc; PyObject *func_name; PyObject *func_dict; PyObject *func_weakreflist; PyObject *func_module; PyObject *func_annotations; PyObject *func_qualname; } PyFunctionObject; extern __attribute__((dllexport)) PyTypeObject PyFunction_Type; #define PyFunction_Check(op) (Py_TYPE(op) == &PyFunction_Type) __attribute__((dllexport)) PyObject * PyFunction_New(PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyFunction_NewWithQualName(PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyFunction_GetCode(PyObject *); __attribute__((dllexport)) PyObject * PyFunction_GetGlobals(PyObject *); __attribute__((dllexport)) PyObject * PyFunction_GetModule(PyObject *); __attribute__((dllexport)) PyObject * PyFunction_GetDefaults(PyObject *); __attribute__((dllexport)) int PyFunction_SetDefaults(PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyFunction_GetKwDefaults(PyObject *); __attribute__((dllexport)) int PyFunction_SetKwDefaults(PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyFunction_GetClosure(PyObject *); __attribute__((dllexport)) int PyFunction_SetClosure(PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyFunction_GetAnnotations(PyObject *); __attribute__((dllexport)) int PyFunction_SetAnnotations(PyObject *, PyObject *); #define PyFunction_GET_CODE(func) (((PyFunctionObject *)func) -> func_code) #define PyFunction_GET_GLOBALS(func) (((PyFunctionObject *)func) -> func_globals) #define PyFunction_GET_MODULE(func) (((PyFunctionObject *)func) -> func_module) #define PyFunction_GET_DEFAULTS(func) (((PyFunctionObject *)func) -> func_defaults) #define PyFunction_GET_KW_DEFAULTS(func) (((PyFunctionObject *)func) -> func_kwdefaults) #define PyFunction_GET_CLOSURE(func) (((PyFunctionObject *)func) -> func_closure) #define PyFunction_GET_ANNOTATIONS(func) (((PyFunctionObject *)func) -> func_annotations) extern __attribute__((dllexport)) PyTypeObject PyClassMethod_Type; extern __attribute__((dllexport)) PyTypeObject PyStaticMethod_Type; __attribute__((dllexport)) PyObject * PyClassMethod_New(PyObject *); __attribute__((dllexport)) PyObject * PyStaticMethod_New(PyObject *); # 92 "./Include/Python.h" 2 # 1 "./Include/classobject.h" 1 #define Py_CLASSOBJECT_H typedef struct { PyObject ob_base; PyObject *im_func; PyObject *im_self; PyObject *im_weakreflist; } PyMethodObject; extern __attribute__((dllexport)) PyTypeObject PyMethod_Type; #define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type) __attribute__((dllexport)) PyObject * PyMethod_New(PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyMethod_Function(PyObject *); __attribute__((dllexport)) PyObject * PyMethod_Self(PyObject *); #define PyMethod_GET_FUNCTION(meth) (((PyMethodObject *)meth) -> im_func) #define PyMethod_GET_SELF(meth) (((PyMethodObject *)meth) -> im_self) __attribute__((dllexport)) int PyMethod_ClearFreeList(void); typedef struct { PyObject ob_base; PyObject *func; } PyInstanceMethodObject; extern __attribute__((dllexport)) PyTypeObject PyInstanceMethod_Type; #define PyInstanceMethod_Check(op) ((op)->ob_type == &PyInstanceMethod_Type) __attribute__((dllexport)) PyObject * PyInstanceMethod_New(PyObject *); __attribute__((dllexport)) PyObject * PyInstanceMethod_Function(PyObject *); #define PyInstanceMethod_GET_FUNCTION(meth) (((PyInstanceMethodObject *)meth) -> func) # 93 "./Include/Python.h" 2 # 1 "./Include/fileobject.h" 1 #define Py_FILEOBJECT_H #define PY_STDIOTEXTMODE "b" __attribute__((dllexport)) PyObject * PyFile_FromFd(int, char *, char *, int, char *, char *, char *, int); __attribute__((dllexport)) PyObject * PyFile_GetLine(PyObject *, int); __attribute__((dllexport)) int PyFile_WriteObject(PyObject *, PyObject *, int); __attribute__((dllexport)) int PyFile_WriteString(const char *, PyObject *); __attribute__((dllexport)) int PyObject_AsFileDescriptor(PyObject *); __attribute__((dllexport)) char * Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *); extern __attribute__((dllexport)) const char * Py_FileSystemDefaultEncoding; extern __attribute__((dllexport)) int Py_HasFileSystemDefaultEncoding; __attribute__((dllexport)) PyObject * PyFile_NewStdPrinter(int); extern __attribute__((dllexport)) PyTypeObject PyStdPrinter_Type; # 43 "./Include/fileobject.h" #define _PyVerify_fd(A) (1) #define _PyIsSelectable_fd(FD) (((FD) >= 0) && ((FD) < FD_SETSIZE)) # 94 "./Include/Python.h" 2 # 1 "./Include/pycapsule.h" 1 # 16 "./Include/pycapsule.h" #define Py_CAPSULE_H extern __attribute__((dllexport)) PyTypeObject PyCapsule_Type; typedef void (*PyCapsule_Destructor)(PyObject *); #define PyCapsule_CheckExact(op) (Py_TYPE(op) == &PyCapsule_Type) __attribute__((dllexport)) PyObject * PyCapsule_New( void *pointer, const char *name, PyCapsule_Destructor destructor); __attribute__((dllexport)) void * PyCapsule_GetPointer(PyObject *capsule, const char *name); __attribute__((dllexport)) PyCapsule_Destructor PyCapsule_GetDestructor(PyObject *capsule); __attribute__((dllexport)) const char * PyCapsule_GetName(PyObject *capsule); __attribute__((dllexport)) void * PyCapsule_GetContext(PyObject *capsule); __attribute__((dllexport)) int PyCapsule_IsValid(PyObject *capsule, const char *name); __attribute__((dllexport)) int PyCapsule_SetPointer(PyObject *capsule, void *pointer); __attribute__((dllexport)) int PyCapsule_SetDestructor(PyObject *capsule, PyCapsule_Destructor destructor); __attribute__((dllexport)) int PyCapsule_SetName(PyObject *capsule, const char *name); __attribute__((dllexport)) int PyCapsule_SetContext(PyObject *capsule, void *context); __attribute__((dllexport)) void * PyCapsule_Import( const char *name, int no_block); # 95 "./Include/Python.h" 2 # 1 "./Include/traceback.h" 1 #define Py_TRACEBACK_H # 1 "./Include/pystate.h" 1 #define Py_PYSTATE_H struct _ts; struct _is; typedef struct _is { struct _is *next; struct _ts *tstate_head; PyObject *modules; PyObject *modules_by_index; PyObject *sysdict; PyObject *builtins; PyObject *importlib; PyObject *codec_search_path; PyObject *codec_search_cache; PyObject *codec_error_registry; int codecs_initialized; int fscodec_initialized; int dlopenflags; } PyInterpreterState; struct _frame; typedef int (*Py_tracefunc)(PyObject *, struct _frame *, int, PyObject *); #define PyTrace_CALL 0 #define PyTrace_EXCEPTION 1 #define PyTrace_LINE 2 #define PyTrace_RETURN 3 #define PyTrace_C_CALL 4 #define PyTrace_C_EXCEPTION 5 #define PyTrace_C_RETURN 6 typedef struct _ts { struct _ts *next; PyInterpreterState *interp; struct _frame *frame; int recursion_depth; char overflowed; char recursion_critical; int tracing; int use_tracing; Py_tracefunc c_profilefunc; Py_tracefunc c_tracefunc; PyObject *c_profileobj; PyObject *c_traceobj; PyObject *curexc_type; PyObject *curexc_value; PyObject *curexc_traceback; PyObject *exc_type; PyObject *exc_value; PyObject *exc_traceback; PyObject *dict; # 110 "./Include/pystate.h" int tick_counter; int gilstate_counter; PyObject *async_exc; long thread_id; int trash_delete_nesting; PyObject *trash_delete_later; } PyThreadState; __attribute__((dllexport)) PyInterpreterState * PyInterpreterState_New(void); __attribute__((dllexport)) void PyInterpreterState_Clear(PyInterpreterState *); __attribute__((dllexport)) void PyInterpreterState_Delete(PyInterpreterState *); __attribute__((dllexport)) int _PyState_AddModule(PyObject*, struct PyModuleDef*); __attribute__((dllexport)) int PyState_AddModule(PyObject*, struct PyModuleDef*); __attribute__((dllexport)) int PyState_RemoveModule(struct PyModuleDef*); __attribute__((dllexport)) PyObject* PyState_FindModule(struct PyModuleDef*); __attribute__((dllexport)) PyThreadState * PyThreadState_New(PyInterpreterState *); __attribute__((dllexport)) PyThreadState * _PyThreadState_Prealloc(PyInterpreterState *); __attribute__((dllexport)) void _PyThreadState_Init(PyThreadState *); __attribute__((dllexport)) void PyThreadState_Clear(PyThreadState *); __attribute__((dllexport)) void PyThreadState_Delete(PyThreadState *); __attribute__((dllexport)) void PyThreadState_DeleteCurrent(void); __attribute__((dllexport)) void _PyGILState_Reinit(void); __attribute__((dllexport)) PyThreadState * PyThreadState_Get(void); __attribute__((dllexport)) PyThreadState * PyThreadState_Swap(PyThreadState *); __attribute__((dllexport)) PyObject * PyThreadState_GetDict(void); __attribute__((dllexport)) int PyThreadState_SetAsyncExc(long, PyObject *); extern __attribute__((dllexport)) _Py_atomic_address _PyThreadState_Current; #define PyThreadState_GET() ((PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current)) typedef enum {PyGILState_LOCKED, PyGILState_UNLOCKED} PyGILState_STATE; # 195 "./Include/pystate.h" __attribute__((dllexport)) PyGILState_STATE PyGILState_Ensure(void); # 205 "./Include/pystate.h" __attribute__((dllexport)) void PyGILState_Release(PyGILState_STATE); __attribute__((dllexport)) PyThreadState * PyGILState_GetThisThreadState(void); __attribute__((dllexport)) PyObject * _PyThread_CurrentFrames(void); __attribute__((dllexport)) PyInterpreterState * PyInterpreterState_Head(void); __attribute__((dllexport)) PyInterpreterState * PyInterpreterState_Next(PyInterpreterState *); __attribute__((dllexport)) PyThreadState * PyInterpreterState_ThreadHead(PyInterpreterState *); __attribute__((dllexport)) PyThreadState * PyThreadState_Next(PyThreadState *); typedef struct _frame *(*PyThreadFrameGetter)(PyThreadState *self_); extern __attribute__((dllexport)) PyThreadFrameGetter _PyThreadState_GetFrame; # 9 "./Include/traceback.h" 2 struct _frame; typedef struct _traceback { PyObject ob_base; struct _traceback *tb_next; struct _frame *tb_frame; int tb_lasti; int tb_lineno; } PyTracebackObject; __attribute__((dllexport)) int PyTraceBack_Here(struct _frame *); __attribute__((dllexport)) int PyTraceBack_Print(PyObject *, PyObject *); __attribute__((dllexport)) int _Py_DisplaySourceLine(PyObject *, PyObject *, int, int); extern __attribute__((dllexport)) PyTypeObject PyTraceBack_Type; #define PyTraceBack_Check(v) (Py_TYPE(v) == &PyTraceBack_Type) # 50 "./Include/traceback.h" extern __attribute__((dllexport)) void _Py_DumpTraceback( int fd, PyThreadState *tstate); # 64 "./Include/traceback.h" extern __attribute__((dllexport)) const char* _Py_DumpTracebackThreads( int fd, PyInterpreterState *interp, PyThreadState *current_thread); # 96 "./Include/Python.h" 2 # 1 "./Include/sliceobject.h" 1 #define Py_SLICEOBJECT_H extern __attribute__((dllexport)) PyObject _Py_EllipsisObject; #define Py_Ellipsis (&_Py_EllipsisObject) # 22 "./Include/sliceobject.h" typedef struct { PyObject ob_base; PyObject *start, *stop, *step; } PySliceObject; extern __attribute__((dllexport)) PyTypeObject PySlice_Type; extern __attribute__((dllexport)) PyTypeObject PyEllipsis_Type; #define PySlice_Check(op) (Py_TYPE(op) == &PySlice_Type) __attribute__((dllexport)) PyObject * PySlice_New(PyObject* start, PyObject* stop, PyObject* step); __attribute__((dllexport)) PyObject * _PySlice_FromIndices(Py_ssize_t start, Py_ssize_t stop); __attribute__((dllexport)) int PySlice_GetIndices(PyObject *r, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step); __attribute__((dllexport)) int PySlice_GetIndicesEx(PyObject *r, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step, Py_ssize_t *slicelength); # 97 "./Include/Python.h" 2 # 1 "./Include/cellobject.h" 1 #define Py_CELLOBJECT_H typedef struct { PyObject ob_base; PyObject *ob_ref; } PyCellObject; extern __attribute__((dllexport)) PyTypeObject PyCell_Type; #define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type) __attribute__((dllexport)) PyObject * PyCell_New(PyObject *); __attribute__((dllexport)) PyObject * PyCell_Get(PyObject *); __attribute__((dllexport)) int PyCell_Set(PyObject *, PyObject *); #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref) #define PyCell_SET(op,v) (((PyCellObject *)(op))->ob_ref = v) # 98 "./Include/Python.h" 2 # 1 "./Include/iterobject.h" 1 #define Py_ITEROBJECT_H extern __attribute__((dllexport)) PyTypeObject PySeqIter_Type; extern __attribute__((dllexport)) PyTypeObject PyCallIter_Type; extern __attribute__((dllexport)) PyTypeObject PyCmpWrapper_Type; #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) __attribute__((dllexport)) PyObject * PySeqIter_New(PyObject *); #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) __attribute__((dllexport)) PyObject * PyCallIter_New(PyObject *, PyObject *); # 99 "./Include/Python.h" 2 # 1 "./Include/genobject.h" 1 #define Py_GENOBJECT_H struct _frame; typedef struct { PyObject ob_base; struct _frame *gi_frame; char gi_running; PyObject *gi_code; PyObject *gi_weakreflist; } PyGenObject; extern __attribute__((dllexport)) PyTypeObject PyGen_Type; #define PyGen_Check(op) PyObject_TypeCheck(op, &PyGen_Type) #define PyGen_CheckExact(op) (Py_TYPE(op) == &PyGen_Type) __attribute__((dllexport)) PyObject * PyGen_New(struct _frame *); __attribute__((dllexport)) int PyGen_NeedsFinalizing(PyGenObject *); __attribute__((dllexport)) int _PyGen_FetchStopIterationValue(PyObject **); PyObject *_PyGen_Send(PyGenObject *, PyObject *); # 100 "./Include/Python.h" 2 # 1 "./Include/descrobject.h" 1 #define Py_DESCROBJECT_H typedef PyObject *(*getter)(PyObject *, void *); typedef int (*setter)(PyObject *, PyObject *, void *); typedef struct PyGetSetDef { char *name; getter get; setter set; char *doc; void *closure; } PyGetSetDef; typedef PyObject *(*wrapperfunc)(PyObject *self, PyObject *args, void *wrapped); typedef PyObject *(*wrapperfunc_kwds)(PyObject *self, PyObject *args, void *wrapped, PyObject *kwds); struct wrapperbase { char *name; int offset; void *function; wrapperfunc wrapper; char *doc; int flags; PyObject *name_strobj; }; #define PyWrapperFlag_KEYWORDS 1 typedef struct { PyObject ob_base; PyTypeObject *d_type; PyObject *d_name; PyObject *d_qualname; } PyDescrObject; #define PyDescr_COMMON PyDescrObject d_common #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name) typedef struct { PyDescrObject d_common; PyMethodDef *d_method; } PyMethodDescrObject; typedef struct { PyDescrObject d_common; struct PyMemberDef *d_member; } PyMemberDescrObject; typedef struct { PyDescrObject d_common; PyGetSetDef *d_getset; } PyGetSetDescrObject; typedef struct { PyDescrObject d_common; struct wrapperbase *d_base; void *d_wrapped; } PyWrapperDescrObject; extern __attribute__((dllexport)) PyTypeObject PyClassMethodDescr_Type; extern __attribute__((dllexport)) PyTypeObject PyGetSetDescr_Type; extern __attribute__((dllexport)) PyTypeObject PyMemberDescr_Type; extern __attribute__((dllexport)) PyTypeObject PyMethodDescr_Type; extern __attribute__((dllexport)) PyTypeObject PyWrapperDescr_Type; extern __attribute__((dllexport)) PyTypeObject PyDictProxy_Type; extern __attribute__((dllexport)) PyTypeObject _PyMethodWrapper_Type; __attribute__((dllexport)) PyObject * PyDescr_NewMethod(PyTypeObject *, PyMethodDef *); __attribute__((dllexport)) PyObject * PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *); struct PyMemberDef; __attribute__((dllexport)) PyObject * PyDescr_NewMember(PyTypeObject *, struct PyMemberDef *); __attribute__((dllexport)) PyObject * PyDescr_NewGetSet(PyTypeObject *, struct PyGetSetDef *); __attribute__((dllexport)) PyObject * PyDescr_NewWrapper(PyTypeObject *, struct wrapperbase *, void *); #define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL) __attribute__((dllexport)) PyObject * PyDictProxy_New(PyObject *); __attribute__((dllexport)) PyObject * PyWrapper_New(PyObject *, PyObject *); extern __attribute__((dllexport)) PyTypeObject PyProperty_Type; # 101 "./Include/Python.h" 2 # 1 "./Include/warnings.h" 1 #define Py_WARNINGS_H __attribute__((dllexport)) PyObject* _PyWarnings_Init(void); __attribute__((dllexport)) int PyErr_WarnEx( PyObject *category, const char *message, Py_ssize_t stack_level); __attribute__((dllexport)) int PyErr_WarnFormat( PyObject *category, Py_ssize_t stack_level, const char *format, ...); __attribute__((dllexport)) int PyErr_WarnExplicit( PyObject *category, const char *message, const char *filename, int lineno, const char *module, PyObject *registry); #define PyErr_Warn(category,msg) PyErr_WarnEx(category, msg, 1) # 102 "./Include/Python.h" 2 # 1 "./Include/weakrefobject.h" 1 #define Py_WEAKREFOBJECT_H typedef struct _PyWeakReference PyWeakReference; struct _PyWeakReference { PyObject ob_base; PyObject *wr_object; PyObject *wr_callback; Py_hash_t hash; PyWeakReference *wr_prev; PyWeakReference *wr_next; }; extern __attribute__((dllexport)) PyTypeObject _PyWeakref_RefType; extern __attribute__((dllexport)) PyTypeObject _PyWeakref_ProxyType; extern __attribute__((dllexport)) PyTypeObject _PyWeakref_CallableProxyType; #define PyWeakref_CheckRef(op) PyObject_TypeCheck(op, &_PyWeakref_RefType) #define PyWeakref_CheckRefExact(op) (Py_TYPE(op) == &_PyWeakref_RefType) #define PyWeakref_CheckProxy(op) ((Py_TYPE(op) == &_PyWeakref_ProxyType) || (Py_TYPE(op) == &_PyWeakref_CallableProxyType)) #define PyWeakref_Check(op) (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op)) __attribute__((dllexport)) PyObject * PyWeakref_NewRef(PyObject *ob, PyObject *callback); __attribute__((dllexport)) PyObject * PyWeakref_NewProxy(PyObject *ob, PyObject *callback); __attribute__((dllexport)) PyObject * PyWeakref_GetObject(PyObject *ref); __attribute__((dllexport)) Py_ssize_t _PyWeakref_GetWeakrefCount(PyWeakReference *head); __attribute__((dllexport)) void _PyWeakref_ClearRef(PyWeakReference *self); # 80 "./Include/weakrefobject.h" #define PyWeakref_GET_OBJECT(ref) (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 ? ((PyWeakReference *)(ref))->wr_object : Py_None) # 103 "./Include/Python.h" 2 # 1 "./Include/structseq.h" 1 #define Py_STRUCTSEQ_H typedef struct PyStructSequence_Field { char *name; char *doc; } PyStructSequence_Field; typedef struct PyStructSequence_Desc { char *name; char *doc; struct PyStructSequence_Field *fields; int n_in_sequence; } PyStructSequence_Desc; extern char* PyStructSequence_UnnamedField; __attribute__((dllexport)) void PyStructSequence_InitType(PyTypeObject *type, PyStructSequence_Desc *desc); __attribute__((dllexport)) PyTypeObject* PyStructSequence_NewType(PyStructSequence_Desc *desc); __attribute__((dllexport)) PyObject * PyStructSequence_New(PyTypeObject* type); typedef PyTupleObject PyStructSequence; #define PyStructSequence_SET_ITEM(op,i,v) PyTuple_SET_ITEM(op, i, v) #define PyStructSequence_GET_ITEM(op,i) PyTuple_GET_ITEM(op, i) __attribute__((dllexport)) void PyStructSequence_SetItem(PyObject*, Py_ssize_t, PyObject*); __attribute__((dllexport)) PyObject* PyStructSequence_GetItem(PyObject*, Py_ssize_t); # 104 "./Include/Python.h" 2 # 1 "./Include/namespaceobject.h" 1 #define NAMESPACEOBJECT_H extern __attribute__((dllexport)) PyTypeObject _PyNamespace_Type; __attribute__((dllexport)) PyObject * _PyNamespace_New(PyObject *kwds); # 105 "./Include/Python.h" 2 # 1 "./Include/codecs.h" 1 #define Py_CODECREGISTRY_H # 26 "./Include/codecs.h" __attribute__((dllexport)) int PyCodec_Register( PyObject *search_function ); # 49 "./Include/codecs.h" __attribute__((dllexport)) PyObject * _PyCodec_Lookup( const char *encoding ); # 61 "./Include/codecs.h" __attribute__((dllexport)) int PyCodec_KnownEncoding( const char *encoding ); # 75 "./Include/codecs.h" __attribute__((dllexport)) PyObject * PyCodec_Encode( PyObject *object, const char *encoding, const char *errors ); # 91 "./Include/codecs.h" __attribute__((dllexport)) PyObject * PyCodec_Decode( PyObject *object, const char *encoding, const char *errors ); # 107 "./Include/codecs.h" __attribute__((dllexport)) PyObject * PyCodec_Encoder( const char *encoding ); __attribute__((dllexport)) PyObject * PyCodec_Decoder( const char *encoding ); __attribute__((dllexport)) PyObject * PyCodec_IncrementalEncoder( const char *encoding, const char *errors ); __attribute__((dllexport)) PyObject * PyCodec_IncrementalDecoder( const char *encoding, const char *errors ); __attribute__((dllexport)) PyObject * PyCodec_StreamReader( const char *encoding, PyObject *stream, const char *errors ); __attribute__((dllexport)) PyObject * PyCodec_StreamWriter( const char *encoding, PyObject *stream, const char *errors ); # 155 "./Include/codecs.h" __attribute__((dllexport)) int PyCodec_RegisterError(const char *name, PyObject *error); __attribute__((dllexport)) PyObject * PyCodec_LookupError(const char *name); __attribute__((dllexport)) PyObject * PyCodec_StrictErrors(PyObject *exc); __attribute__((dllexport)) PyObject * PyCodec_IgnoreErrors(PyObject *exc); __attribute__((dllexport)) PyObject * PyCodec_ReplaceErrors(PyObject *exc); __attribute__((dllexport)) PyObject * PyCodec_XMLCharRefReplaceErrors(PyObject *exc); __attribute__((dllexport)) PyObject * PyCodec_BackslashReplaceErrors(PyObject *exc); extern __attribute__((dllexport)) const char * Py_hexdigits; # 107 "./Include/Python.h" 2 # 1 "./Include/pyerrors.h" 1 #define Py_ERRORS_H # 11 "./Include/pyerrors.h" #define PyException_HEAD PyObject_HEAD PyObject *dict; PyObject *args; PyObject *traceback; PyObject *context; PyObject *cause; char suppress_context; typedef struct { PyObject ob_base; PyObject *dict; PyObject *args; PyObject *traceback; PyObject *context; PyObject *cause; char suppress_context; } PyBaseExceptionObject; typedef struct { PyObject ob_base; PyObject *dict; PyObject *args; PyObject *traceback; PyObject *context; PyObject *cause; char suppress_context; PyObject *msg; PyObject *filename; PyObject *lineno; PyObject *offset; PyObject *text; PyObject *print_file_and_line; } PySyntaxErrorObject; typedef struct { PyObject ob_base; PyObject *dict; PyObject *args; PyObject *traceback; PyObject *context; PyObject *cause; char suppress_context; PyObject *msg; PyObject *name; PyObject *path; } PyImportErrorObject; typedef struct { PyObject ob_base; PyObject *dict; PyObject *args; PyObject *traceback; PyObject *context; PyObject *cause; char suppress_context; PyObject *encoding; PyObject *object; Py_ssize_t start; Py_ssize_t end; PyObject *reason; } PyUnicodeErrorObject; typedef struct { PyObject ob_base; PyObject *dict; PyObject *args; PyObject *traceback; PyObject *context; PyObject *cause; char suppress_context; PyObject *code; } PySystemExitObject; typedef struct { PyObject ob_base; PyObject *dict; PyObject *args; PyObject *traceback; PyObject *context; PyObject *cause; char suppress_context; PyObject *myerrno; PyObject *strerror; PyObject *filename; Py_ssize_t written; } PyOSErrorObject; typedef struct { PyObject ob_base; PyObject *dict; PyObject *args; PyObject *traceback; PyObject *context; PyObject *cause; char suppress_context; PyObject *value; } PyStopIterationObject; typedef PyOSErrorObject PyEnvironmentErrorObject; __attribute__((dllexport)) void PyErr_SetNone(PyObject *); __attribute__((dllexport)) void PyErr_SetObject(PyObject *, PyObject *); __attribute__((dllexport)) void PyErr_SetString( PyObject *exception, const char *string ); __attribute__((dllexport)) PyObject * PyErr_Occurred(void); __attribute__((dllexport)) void PyErr_Clear(void); __attribute__((dllexport)) void PyErr_Fetch(PyObject **, PyObject **, PyObject **); __attribute__((dllexport)) void PyErr_Restore(PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) void PyErr_GetExcInfo(PyObject **, PyObject **, PyObject **); __attribute__((dllexport)) void PyErr_SetExcInfo(PyObject *, PyObject *, PyObject *); #define _Py_NO_RETURN __attribute__((dllexport)) void Py_FatalError(const char *message) ; #define _PyErr_OCCURRED() (_PyThreadState_Current->curexc_type) __attribute__((dllexport)) int PyErr_GivenExceptionMatches(PyObject *, PyObject *); __attribute__((dllexport)) int PyErr_ExceptionMatches(PyObject *); __attribute__((dllexport)) void PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); __attribute__((dllexport)) int PyException_SetTraceback(PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyException_GetTraceback(PyObject *); __attribute__((dllexport)) PyObject * PyException_GetCause(PyObject *); __attribute__((dllexport)) void PyException_SetCause(PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyException_GetContext(PyObject *); __attribute__((dllexport)) void PyException_SetContext(PyObject *, PyObject *); #define PyExceptionClass_Check(x) (PyType_Check((x)) && PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)) #define PyExceptionInstance_Check(x) PyType_FastSubclass((x)->ob_type, Py_TPFLAGS_BASE_EXC_SUBCLASS) #define PyExceptionClass_Name(x) ((char *)(((PyTypeObject*)(x))->tp_name)) #define PyExceptionInstance_Class(x) ((PyObject*)((x)->ob_type)) extern __attribute__((dllexport)) PyObject * PyExc_BaseException; extern __attribute__((dllexport)) PyObject * PyExc_Exception; extern __attribute__((dllexport)) PyObject * PyExc_StopIteration; extern __attribute__((dllexport)) PyObject * PyExc_GeneratorExit; extern __attribute__((dllexport)) PyObject * PyExc_ArithmeticError; extern __attribute__((dllexport)) PyObject * PyExc_LookupError; extern __attribute__((dllexport)) PyObject * PyExc_AssertionError; extern __attribute__((dllexport)) PyObject * PyExc_AttributeError; extern __attribute__((dllexport)) PyObject * PyExc_BufferError; extern __attribute__((dllexport)) PyObject * PyExc_EOFError; extern __attribute__((dllexport)) PyObject * PyExc_FloatingPointError; extern __attribute__((dllexport)) PyObject * PyExc_OSError; extern __attribute__((dllexport)) PyObject * PyExc_ImportError; extern __attribute__((dllexport)) PyObject * PyExc_IndexError; extern __attribute__((dllexport)) PyObject * PyExc_KeyError; extern __attribute__((dllexport)) PyObject * PyExc_KeyboardInterrupt; extern __attribute__((dllexport)) PyObject * PyExc_MemoryError; extern __attribute__((dllexport)) PyObject * PyExc_NameError; extern __attribute__((dllexport)) PyObject * PyExc_OverflowError; extern __attribute__((dllexport)) PyObject * PyExc_RuntimeError; extern __attribute__((dllexport)) PyObject * PyExc_NotImplementedError; extern __attribute__((dllexport)) PyObject * PyExc_SyntaxError; extern __attribute__((dllexport)) PyObject * PyExc_IndentationError; extern __attribute__((dllexport)) PyObject * PyExc_TabError; extern __attribute__((dllexport)) PyObject * PyExc_ReferenceError; extern __attribute__((dllexport)) PyObject * PyExc_SystemError; extern __attribute__((dllexport)) PyObject * PyExc_SystemExit; extern __attribute__((dllexport)) PyObject * PyExc_TypeError; extern __attribute__((dllexport)) PyObject * PyExc_UnboundLocalError; extern __attribute__((dllexport)) PyObject * PyExc_UnicodeError; extern __attribute__((dllexport)) PyObject * PyExc_UnicodeEncodeError; extern __attribute__((dllexport)) PyObject * PyExc_UnicodeDecodeError; extern __attribute__((dllexport)) PyObject * PyExc_UnicodeTranslateError; extern __attribute__((dllexport)) PyObject * PyExc_ValueError; extern __attribute__((dllexport)) PyObject * PyExc_ZeroDivisionError; extern __attribute__((dllexport)) PyObject * PyExc_BlockingIOError; extern __attribute__((dllexport)) PyObject * PyExc_BrokenPipeError; extern __attribute__((dllexport)) PyObject * PyExc_ChildProcessError; extern __attribute__((dllexport)) PyObject * PyExc_ConnectionError; extern __attribute__((dllexport)) PyObject * PyExc_ConnectionAbortedError; extern __attribute__((dllexport)) PyObject * PyExc_ConnectionRefusedError; extern __attribute__((dllexport)) PyObject * PyExc_ConnectionResetError; extern __attribute__((dllexport)) PyObject * PyExc_FileExistsError; extern __attribute__((dllexport)) PyObject * PyExc_FileNotFoundError; extern __attribute__((dllexport)) PyObject * PyExc_InterruptedError; extern __attribute__((dllexport)) PyObject * PyExc_IsADirectoryError; extern __attribute__((dllexport)) PyObject * PyExc_NotADirectoryError; extern __attribute__((dllexport)) PyObject * PyExc_PermissionError; extern __attribute__((dllexport)) PyObject * PyExc_ProcessLookupError; extern __attribute__((dllexport)) PyObject * PyExc_TimeoutError; extern __attribute__((dllexport)) PyObject * PyExc_EnvironmentError; extern __attribute__((dllexport)) PyObject * PyExc_IOError; extern __attribute__((dllexport)) PyObject * PyExc_RecursionErrorInst; extern __attribute__((dllexport)) PyObject * PyExc_Warning; extern __attribute__((dllexport)) PyObject * PyExc_UserWarning; extern __attribute__((dllexport)) PyObject * PyExc_DeprecationWarning; extern __attribute__((dllexport)) PyObject * PyExc_PendingDeprecationWarning; extern __attribute__((dllexport)) PyObject * PyExc_SyntaxWarning; extern __attribute__((dllexport)) PyObject * PyExc_RuntimeWarning; extern __attribute__((dllexport)) PyObject * PyExc_FutureWarning; extern __attribute__((dllexport)) PyObject * PyExc_ImportWarning; extern __attribute__((dllexport)) PyObject * PyExc_UnicodeWarning; extern __attribute__((dllexport)) PyObject * PyExc_BytesWarning; extern __attribute__((dllexport)) PyObject * PyExc_ResourceWarning; __attribute__((dllexport)) int PyErr_BadArgument(void); __attribute__((dllexport)) PyObject * PyErr_NoMemory(void); __attribute__((dllexport)) PyObject * PyErr_SetFromErrno(PyObject *); __attribute__((dllexport)) PyObject * PyErr_SetFromErrnoWithFilenameObject( PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyErr_SetFromErrnoWithFilename( PyObject *exc, const char *filename ); __attribute__((dllexport)) PyObject * PyErr_Format( PyObject *exception, const char *format, ... ); # 268 "./Include/pyerrors.h" __attribute__((dllexport)) PyObject * PyErr_SetExcWithArgsKwargs(PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyErr_SetImportError(PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) void PyErr_BadInternalCall(void); __attribute__((dllexport)) void _PyErr_BadInternalCall(const char *filename, int lineno); #define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__) __attribute__((dllexport)) PyObject * PyErr_NewException( const char *name, PyObject *base, PyObject *dict); __attribute__((dllexport)) PyObject * PyErr_NewExceptionWithDoc( const char *name, const char *doc, PyObject *base, PyObject *dict); __attribute__((dllexport)) void PyErr_WriteUnraisable(PyObject *); __attribute__((dllexport)) int PyErr_CheckSignals(void); __attribute__((dllexport)) void PyErr_SetInterrupt(void); int PySignal_SetWakeupFd(int fd); __attribute__((dllexport)) void PyErr_SyntaxLocation( const char *filename, int lineno); __attribute__((dllexport)) void PyErr_SyntaxLocationEx( const char *filename, int lineno, int col_offset); __attribute__((dllexport)) PyObject * PyErr_ProgramText( const char *filename, int lineno); __attribute__((dllexport)) PyObject * PyUnicodeDecodeError_Create( const char *encoding, const char *object, Py_ssize_t length, Py_ssize_t start, Py_ssize_t end, const char *reason ); __attribute__((dllexport)) PyObject * PyUnicodeEncodeError_Create( const char *encoding, const Py_UNICODE *object, Py_ssize_t length, Py_ssize_t start, Py_ssize_t end, const char *reason ); __attribute__((dllexport)) PyObject * PyUnicodeTranslateError_Create( const Py_UNICODE *object, Py_ssize_t length, Py_ssize_t start, Py_ssize_t end, const char *reason ); __attribute__((dllexport)) PyObject * _PyUnicodeTranslateError_Create( PyObject *object, Py_ssize_t start, Py_ssize_t end, const char *reason ); __attribute__((dllexport)) PyObject * PyUnicodeEncodeError_GetEncoding(PyObject *); __attribute__((dllexport)) PyObject * PyUnicodeDecodeError_GetEncoding(PyObject *); __attribute__((dllexport)) PyObject * PyUnicodeEncodeError_GetObject(PyObject *); __attribute__((dllexport)) PyObject * PyUnicodeDecodeError_GetObject(PyObject *); __attribute__((dllexport)) PyObject * PyUnicodeTranslateError_GetObject(PyObject *); __attribute__((dllexport)) int PyUnicodeEncodeError_GetStart(PyObject *, Py_ssize_t *); __attribute__((dllexport)) int PyUnicodeDecodeError_GetStart(PyObject *, Py_ssize_t *); __attribute__((dllexport)) int PyUnicodeTranslateError_GetStart(PyObject *, Py_ssize_t *); __attribute__((dllexport)) int PyUnicodeEncodeError_SetStart(PyObject *, Py_ssize_t); __attribute__((dllexport)) int PyUnicodeDecodeError_SetStart(PyObject *, Py_ssize_t); __attribute__((dllexport)) int PyUnicodeTranslateError_SetStart(PyObject *, Py_ssize_t); __attribute__((dllexport)) int PyUnicodeEncodeError_GetEnd(PyObject *, Py_ssize_t *); __attribute__((dllexport)) int PyUnicodeDecodeError_GetEnd(PyObject *, Py_ssize_t *); __attribute__((dllexport)) int PyUnicodeTranslateError_GetEnd(PyObject *, Py_ssize_t *); __attribute__((dllexport)) int PyUnicodeEncodeError_SetEnd(PyObject *, Py_ssize_t); __attribute__((dllexport)) int PyUnicodeDecodeError_SetEnd(PyObject *, Py_ssize_t); __attribute__((dllexport)) int PyUnicodeTranslateError_SetEnd(PyObject *, Py_ssize_t); __attribute__((dllexport)) PyObject * PyUnicodeEncodeError_GetReason(PyObject *); __attribute__((dllexport)) PyObject * PyUnicodeDecodeError_GetReason(PyObject *); __attribute__((dllexport)) PyObject * PyUnicodeTranslateError_GetReason(PyObject *); __attribute__((dllexport)) int PyUnicodeEncodeError_SetReason( PyObject *exc, const char *reason ); __attribute__((dllexport)) int PyUnicodeDecodeError_SetReason( PyObject *exc, const char *reason ); __attribute__((dllexport)) int PyUnicodeTranslateError_SetReason( PyObject *exc, const char *reason ); # 418 "./Include/pyerrors.h" __attribute__((dllexport)) int PyOS_snprintf(char *str, size_t size, const char *format, ...) __attribute__((format(printf, 3, 4))); __attribute__((dllexport)) int PyOS_vsnprintf(char *str, size_t size, const char *format, va_list va) __attribute__((format(printf, 3, 0))); # 108 "./Include/Python.h" 2 # 1 "./Include/pyarena.h" 1 #define Py_PYARENA_H typedef struct _arena PyArena; # 36 "./Include/pyarena.h" __attribute__((dllexport)) PyArena * PyArena_New(void); __attribute__((dllexport)) void PyArena_Free(PyArena *); # 51 "./Include/pyarena.h" __attribute__((dllexport)) void * PyArena_Malloc(PyArena *, size_t size); __attribute__((dllexport)) int PyArena_AddPyObject(PyArena *, PyObject *); # 112 "./Include/Python.h" 2 # 1 "./Include/modsupport.h" 1 #define Py_MODSUPPORT_H # 15 "./Include/modsupport.h" #define PyArg_Parse _PyArg_Parse_SizeT #define PyArg_ParseTuple _PyArg_ParseTuple_SizeT #define PyArg_ParseTupleAndKeywords _PyArg_ParseTupleAndKeywords_SizeT #define PyArg_VaParse _PyArg_VaParse_SizeT #define PyArg_VaParseTupleAndKeywords _PyArg_VaParseTupleAndKeywords_SizeT #define Py_BuildValue _Py_BuildValue_SizeT #define Py_VaBuildValue _Py_VaBuildValue_SizeT __attribute__((dllexport)) int _PyArg_Parse_SizeT(PyObject *, const char *, ...); __attribute__((dllexport)) int _PyArg_ParseTuple_SizeT(PyObject *, const char *, ...) ; __attribute__((dllexport)) int _PyArg_ParseTupleAndKeywords_SizeT(PyObject *, PyObject *, const char *, char **, ...); __attribute__((dllexport)) int PyArg_ValidateKeywordArguments(PyObject *); __attribute__((dllexport)) int PyArg_UnpackTuple(PyObject *, const char *, Py_ssize_t, Py_ssize_t, ...); __attribute__((dllexport)) PyObject * _Py_BuildValue_SizeT(const char *, ...); __attribute__((dllexport)) PyObject * _Py_BuildValue_SizeT(const char *, ...); __attribute__((dllexport)) int _PyArg_NoKeywords(const char *funcname, PyObject *kw); __attribute__((dllexport)) int _PyArg_VaParse_SizeT(PyObject *, const char *, va_list); __attribute__((dllexport)) int _PyArg_VaParseTupleAndKeywords_SizeT(PyObject *, PyObject *, const char *, char **, va_list); __attribute__((dllexport)) PyObject * _Py_VaBuildValue_SizeT(const char *, va_list); __attribute__((dllexport)) int PyModule_AddObject(PyObject *, const char *, PyObject *); __attribute__((dllexport)) int PyModule_AddIntConstant(PyObject *, const char *, long); __attribute__((dllexport)) int PyModule_AddStringConstant(PyObject *, const char *, const char *); #define PyModule_AddIntMacro(m,c) PyModule_AddIntConstant(m, #c, c) #define PyModule_AddStringMacro(m,c) PyModule_AddStringConstant(m, #c, c) #define Py_CLEANUP_SUPPORTED 0x20000 #define PYTHON_API_VERSION 1013 #define PYTHON_API_STRING "1013" # 103 "./Include/modsupport.h" #define PYTHON_ABI_VERSION 3 #define PYTHON_ABI_STRING "3" # 113 "./Include/modsupport.h" __attribute__((dllexport)) PyObject * PyModule_Create2(struct PyModuleDef*, int apiver); #define PyModule_Create(module) PyModule_Create2(module, PYTHON_API_VERSION) extern __attribute__((dllexport)) char * _Py_PackageContext; # 113 "./Include/Python.h" 2 # 1 "./Include/pythonrun.h" 1 #define Py_PYTHONRUN_H #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL) #define PyCF_MASK_OBSOLETE (CO_NESTED) #define PyCF_SOURCE_IS_UTF8 0x0100 #define PyCF_DONT_IMPLY_DEDENT 0x0200 #define PyCF_ONLY_AST 0x0400 #define PyCF_IGNORE_COOKIE 0x0800 typedef struct { int cf_flags; } PyCompilerFlags; __attribute__((dllexport)) void Py_SetProgramName(wchar_t *); __attribute__((dllexport)) wchar_t * Py_GetProgramName(void); __attribute__((dllexport)) void Py_SetPythonHome(wchar_t *); __attribute__((dllexport)) wchar_t * Py_GetPythonHome(void); __attribute__((dllexport)) void Py_Initialize(void); __attribute__((dllexport)) void Py_InitializeEx(int); __attribute__((dllexport)) void _Py_InitializeEx_Private(int, int); __attribute__((dllexport)) void Py_Finalize(void); __attribute__((dllexport)) int Py_IsInitialized(void); __attribute__((dllexport)) PyThreadState * Py_NewInterpreter(void); __attribute__((dllexport)) void Py_EndInterpreter(PyThreadState *); __attribute__((dllexport)) int PyRun_SimpleStringFlags(const char *, PyCompilerFlags *); __attribute__((dllexport)) int PyRun_AnyFileFlags(FILE *, const char *, PyCompilerFlags *); __attribute__((dllexport)) int PyRun_AnyFileExFlags( FILE *fp, const char *filename, int closeit, PyCompilerFlags *flags); __attribute__((dllexport)) int PyRun_SimpleFileExFlags( FILE *fp, const char *filename, int closeit, PyCompilerFlags *flags); __attribute__((dllexport)) int PyRun_InteractiveOneFlags( FILE *fp, const char *filename, PyCompilerFlags *flags); __attribute__((dllexport)) int PyRun_InteractiveLoopFlags( FILE *fp, const char *filename, PyCompilerFlags *flags); __attribute__((dllexport)) struct _mod * PyParser_ASTFromString( const char *s, const char *filename, int start, PyCompilerFlags *flags, PyArena *arena); __attribute__((dllexport)) struct _mod * PyParser_ASTFromFile( FILE *fp, const char *filename, const char* enc, int start, char *ps1, char *ps2, PyCompilerFlags *flags, int *errcode, PyArena *arena); #define PyParser_SimpleParseString(S,B) PyParser_SimpleParseStringFlags(S, B, 0) #define PyParser_SimpleParseFile(FP,S,B) PyParser_SimpleParseFileFlags(FP, S, B, 0) __attribute__((dllexport)) struct _node * PyParser_SimpleParseStringFlags(const char *, int, int); __attribute__((dllexport)) struct _node * PyParser_SimpleParseStringFlagsFilename(const char *, const char *, int, int); __attribute__((dllexport)) struct _node * PyParser_SimpleParseFileFlags(FILE *, const char *, int, int); __attribute__((dllexport)) PyObject * PyRun_StringFlags(const char *, int, PyObject *, PyObject *, PyCompilerFlags *); __attribute__((dllexport)) PyObject * PyRun_FileExFlags( FILE *fp, const char *filename, int start, PyObject *globals, PyObject *locals, int closeit, PyCompilerFlags *flags); #define Py_CompileString(str,p,s) Py_CompileStringExFlags(str, p, s, NULL, -1) #define Py_CompileStringFlags(str,p,s,f) Py_CompileStringExFlags(str, p, s, f, -1) __attribute__((dllexport)) PyObject * Py_CompileStringExFlags( const char *str, const char *filename, int start, PyCompilerFlags *flags, int optimize); __attribute__((dllexport)) struct symtable * Py_SymtableString( const char *str, const char *filename, int start); __attribute__((dllexport)) void PyErr_Print(void); __attribute__((dllexport)) void PyErr_PrintEx(int); __attribute__((dllexport)) void PyErr_Display(PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) void _Py_PyAtExit(void (*func)(void)); __attribute__((dllexport)) int Py_AtExit(void (*func)(void)); __attribute__((dllexport)) void Py_Exit(int); __attribute__((dllexport)) void _Py_RestoreSignals(void); __attribute__((dllexport)) int Py_FdIsInteractive(FILE *, const char *); __attribute__((dllexport)) int Py_Main(int argc, wchar_t **argv); #define PyRun_String(str,s,g,l) PyRun_StringFlags(str, s, g, l, NULL) #define PyRun_AnyFile(fp,name) PyRun_AnyFileExFlags(fp, name, 0, NULL) #define PyRun_AnyFileEx(fp,name,closeit) PyRun_AnyFileExFlags(fp, name, closeit, NULL) #define PyRun_AnyFileFlags(fp,name,flags) PyRun_AnyFileExFlags(fp, name, 0, flags) #define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL) #define PyRun_SimpleFile(f,p) PyRun_SimpleFileExFlags(f, p, 0, NULL) #define PyRun_SimpleFileEx(f,p,c) PyRun_SimpleFileExFlags(f, p, c, NULL) #define PyRun_InteractiveOne(f,p) PyRun_InteractiveOneFlags(f, p, NULL) #define PyRun_InteractiveLoop(f,p) PyRun_InteractiveLoopFlags(f, p, NULL) #define PyRun_File(fp,p,s,g,l) PyRun_FileExFlags(fp, p, s, g, l, 0, NULL) #define PyRun_FileEx(fp,p,s,g,l,c) PyRun_FileExFlags(fp, p, s, g, l, c, NULL) #define PyRun_FileFlags(fp,p,s,g,l,flags) PyRun_FileExFlags(fp, p, s, g, l, 0, flags) __attribute__((dllexport)) wchar_t * Py_GetProgramFullPath(void); __attribute__((dllexport)) wchar_t * Py_GetPrefix(void); __attribute__((dllexport)) wchar_t * Py_GetExecPrefix(void); __attribute__((dllexport)) wchar_t * Py_GetPath(void); __attribute__((dllexport)) void Py_SetPath(const wchar_t *); __attribute__((dllexport)) const char * Py_GetVersion(void); __attribute__((dllexport)) const char * Py_GetPlatform(void); __attribute__((dllexport)) const char * Py_GetCopyright(void); __attribute__((dllexport)) const char * Py_GetCompiler(void); __attribute__((dllexport)) const char * Py_GetBuildInfo(void); __attribute__((dllexport)) const char * _Py_hgidentifier(void); __attribute__((dllexport)) const char * _Py_hgversion(void); __attribute__((dllexport)) PyObject * _PyBuiltin_Init(void); __attribute__((dllexport)) PyObject * _PySys_Init(void); __attribute__((dllexport)) void _PyImport_Init(void); __attribute__((dllexport)) void _PyExc_Init(PyObject * bltinmod); __attribute__((dllexport)) void _PyImportHooks_Init(void); __attribute__((dllexport)) int _PyFrame_Init(void); __attribute__((dllexport)) void _PyFloat_Init(void); __attribute__((dllexport)) int PyByteArray_Init(void); __attribute__((dllexport)) void _PyRandom_Init(void); __attribute__((dllexport)) void _PyExc_Fini(void); __attribute__((dllexport)) void _PyImport_Fini(void); __attribute__((dllexport)) void PyMethod_Fini(void); __attribute__((dllexport)) void PyFrame_Fini(void); __attribute__((dllexport)) void PyCFunction_Fini(void); __attribute__((dllexport)) void PyDict_Fini(void); __attribute__((dllexport)) void PyTuple_Fini(void); __attribute__((dllexport)) void PyList_Fini(void); __attribute__((dllexport)) void PySet_Fini(void); __attribute__((dllexport)) void PyBytes_Fini(void); __attribute__((dllexport)) void PyByteArray_Fini(void); __attribute__((dllexport)) void PyFloat_Fini(void); __attribute__((dllexport)) void PyOS_FiniInterrupts(void); __attribute__((dllexport)) void _PyGC_Fini(void); __attribute__((dllexport)) void PySlice_Fini(void); __attribute__((dllexport)) void _PyType_Fini(void); extern __attribute__((dllexport)) PyThreadState * _Py_Finalizing; __attribute__((dllexport)) char * PyOS_Readline(FILE *, FILE *, char *); extern __attribute__((dllexport)) int (*PyOS_InputHook)(void); extern __attribute__((dllexport)) char *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, char *); extern __attribute__((dllexport)) PyThreadState* _PyOS_ReadlineTState; #define PYOS_STACK_MARGIN 2048 # 253 "./Include/pythonrun.h" typedef void (*PyOS_sighandler_t)(int); __attribute__((dllexport)) PyOS_sighandler_t PyOS_getsig(int); __attribute__((dllexport)) PyOS_sighandler_t PyOS_setsig(int, PyOS_sighandler_t); __attribute__((dllexport)) int _PyOS_URandom (void *buffer, Py_ssize_t size); # 114 "./Include/Python.h" 2 # 1 "./Include/ceval.h" 1 #define Py_CEVAL_H __attribute__((dllexport)) PyObject * PyEval_CallObjectWithKeywords( PyObject *, PyObject *, PyObject *); #define PyEval_CallObject(func,arg) PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL) __attribute__((dllexport)) PyObject * PyEval_CallFunction(PyObject *obj, const char *format, ...); __attribute__((dllexport)) PyObject * PyEval_CallMethod(PyObject *obj, const char *methodname, const char *format, ...); __attribute__((dllexport)) void PyEval_SetProfile(Py_tracefunc, PyObject *); __attribute__((dllexport)) void PyEval_SetTrace(Py_tracefunc, PyObject *); struct _frame; __attribute__((dllexport)) PyObject * PyEval_GetBuiltins(void); __attribute__((dllexport)) PyObject * PyEval_GetGlobals(void); __attribute__((dllexport)) PyObject * PyEval_GetLocals(void); __attribute__((dllexport)) struct _frame * PyEval_GetFrame(void); __attribute__((dllexport)) int PyEval_MergeCompilerFlags(PyCompilerFlags *cf); __attribute__((dllexport)) int Py_AddPendingCall(int (*func)(void *), void *arg); __attribute__((dllexport)) int Py_MakePendingCalls(void); # 70 "./Include/ceval.h" __attribute__((dllexport)) void Py_SetRecursionLimit(int); __attribute__((dllexport)) int Py_GetRecursionLimit(void); #define Py_EnterRecursiveCall(where) (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && _Py_CheckRecursiveCall(where)) #define Py_LeaveRecursiveCall() do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) PyThreadState_GET()->overflowed = 0; } while(0) __attribute__((dllexport)) int _Py_CheckRecursiveCall(char *where); extern __attribute__((dllexport)) int _Py_CheckRecursionLimit; # 92 "./Include/ceval.h" #define _Py_MakeRecCheck(x) (++(x) > _Py_CheckRecursionLimit) #define _Py_MakeEndRecCheck(x) (--(x) < ((_Py_CheckRecursionLimit > 100) ? (_Py_CheckRecursionLimit - 50) : (3 * (_Py_CheckRecursionLimit >> 2)))) #define Py_ALLOW_RECURSION do { unsigned char _old = PyThreadState_GET()->recursion_critical; PyThreadState_GET()->recursion_critical = 1; #define Py_END_ALLOW_RECURSION PyThreadState_GET()->recursion_critical = _old; } while(0); __attribute__((dllexport)) const char * PyEval_GetFuncName(PyObject *); __attribute__((dllexport)) const char * PyEval_GetFuncDesc(PyObject *); __attribute__((dllexport)) PyObject * PyEval_GetCallStats(PyObject *); __attribute__((dllexport)) PyObject * PyEval_EvalFrame(struct _frame *); __attribute__((dllexport)) PyObject * PyEval_EvalFrameEx(struct _frame *f, int exc); # 160 "./Include/ceval.h" __attribute__((dllexport)) PyThreadState * PyEval_SaveThread(void); __attribute__((dllexport)) void PyEval_RestoreThread(PyThreadState *); __attribute__((dllexport)) int PyEval_ThreadsInitialized(void); __attribute__((dllexport)) void PyEval_InitThreads(void); __attribute__((dllexport)) void _PyEval_FiniThreads(void); __attribute__((dllexport)) void PyEval_AcquireLock(void); __attribute__((dllexport)) void PyEval_ReleaseLock(void); __attribute__((dllexport)) void PyEval_AcquireThread(PyThreadState *tstate); __attribute__((dllexport)) void PyEval_ReleaseThread(PyThreadState *tstate); __attribute__((dllexport)) void PyEval_ReInitThreads(void); __attribute__((dllexport)) void _PyEval_SetSwitchInterval(unsigned long microseconds); __attribute__((dllexport)) unsigned long _PyEval_GetSwitchInterval(void); #define Py_BEGIN_ALLOW_THREADS { PyThreadState *_save; _save = PyEval_SaveThread(); #define Py_BLOCK_THREADS PyEval_RestoreThread(_save); #define Py_UNBLOCK_THREADS _save = PyEval_SaveThread(); #define Py_END_ALLOW_THREADS PyEval_RestoreThread(_save); } # 197 "./Include/ceval.h" __attribute__((dllexport)) int _PyEval_SliceIndex(PyObject *, Py_ssize_t *); __attribute__((dllexport)) void _PyEval_SignalAsyncExc(void); # 115 "./Include/Python.h" 2 # 1 "./Include/sysmodule.h" 1 #define Py_SYSMODULE_H __attribute__((dllexport)) PyObject * PySys_GetObject(const char *); __attribute__((dllexport)) int PySys_SetObject(const char *, PyObject *); __attribute__((dllexport)) void PySys_SetArgv(int, wchar_t **); __attribute__((dllexport)) void PySys_SetArgvEx(int, wchar_t **, int); __attribute__((dllexport)) void PySys_SetPath(const wchar_t *); __attribute__((dllexport)) void PySys_WriteStdout(const char *format, ...) __attribute__((format(printf, 1, 2))); __attribute__((dllexport)) void PySys_WriteStderr(const char *format, ...) __attribute__((format(printf, 1, 2))); __attribute__((dllexport)) void PySys_FormatStdout(const char *format, ...); __attribute__((dllexport)) void PySys_FormatStderr(const char *format, ...); __attribute__((dllexport)) void PySys_ResetWarnOptions(void); __attribute__((dllexport)) void PySys_AddWarnOption(const wchar_t *); __attribute__((dllexport)) void PySys_AddWarnOptionUnicode(PyObject *); __attribute__((dllexport)) int PySys_HasWarnOptions(void); __attribute__((dllexport)) void PySys_AddXOption(const wchar_t *); __attribute__((dllexport)) PyObject * PySys_GetXOptions(void); # 116 "./Include/Python.h" 2 # 1 "./Include/intrcheck.h" 1 #define Py_INTRCHECK_H __attribute__((dllexport)) int PyOS_InterruptOccurred(void); __attribute__((dllexport)) void PyOS_InitInterrupts(void); __attribute__((dllexport)) void PyOS_AfterFork(void); __attribute__((dllexport)) int _PyOS_IsMainThread(void); # 117 "./Include/Python.h" 2 # 1 "./Include/import.h" 1 #define Py_IMPORT_H __attribute__((dllexport)) void _PyImportZip_Init(void); __attribute__((dllexport)) PyObject* PyInit_imp(void); __attribute__((dllexport)) long PyImport_GetMagicNumber(void); __attribute__((dllexport)) const char * PyImport_GetMagicTag(void); __attribute__((dllexport)) PyObject * PyImport_ExecCodeModule( char *name, PyObject *co ); __attribute__((dllexport)) PyObject * PyImport_ExecCodeModuleEx( char *name, PyObject *co, char *pathname ); __attribute__((dllexport)) PyObject * PyImport_ExecCodeModuleWithPathnames( char *name, PyObject *co, char *pathname, char *cpathname ); __attribute__((dllexport)) PyObject * PyImport_ExecCodeModuleObject( PyObject *name, PyObject *co, PyObject *pathname, PyObject *cpathname ); __attribute__((dllexport)) PyObject * PyImport_GetModuleDict(void); __attribute__((dllexport)) PyObject * PyImport_AddModuleObject( PyObject *name ); __attribute__((dllexport)) PyObject * PyImport_AddModule( const char *name ); __attribute__((dllexport)) PyObject * PyImport_ImportModule( const char *name ); __attribute__((dllexport)) PyObject * PyImport_ImportModuleNoBlock( const char *name ); __attribute__((dllexport)) PyObject * PyImport_ImportModuleLevel( const char *name, PyObject *globals, PyObject *locals, PyObject *fromlist, int level ); __attribute__((dllexport)) PyObject * PyImport_ImportModuleLevelObject( PyObject *name, PyObject *globals, PyObject *locals, PyObject *fromlist, int level ); #define PyImport_ImportModuleEx(n,g,l,f) PyImport_ImportModuleLevel(n, g, l, f, 0) __attribute__((dllexport)) PyObject * PyImport_GetImporter(PyObject *path); __attribute__((dllexport)) PyObject * PyImport_Import(PyObject *name); __attribute__((dllexport)) PyObject * PyImport_ReloadModule(PyObject *m); __attribute__((dllexport)) void PyImport_Cleanup(void); __attribute__((dllexport)) int PyImport_ImportFrozenModuleObject( PyObject *name ); __attribute__((dllexport)) int PyImport_ImportFrozenModule( char *name ); __attribute__((dllexport)) void _PyImport_AcquireLock(void); __attribute__((dllexport)) int _PyImport_ReleaseLock(void); __attribute__((dllexport)) void _PyImport_ReInitLock(void); __attribute__((dllexport)) PyObject *_PyImport_FindBuiltin( const char *name ); __attribute__((dllexport)) PyObject *_PyImport_FindExtensionObject(PyObject *, PyObject *); __attribute__((dllexport)) int _PyImport_FixupBuiltin( PyObject *mod, char *name ); __attribute__((dllexport)) int _PyImport_FixupExtensionObject(PyObject*, PyObject *, PyObject *); struct _inittab { char *name; PyObject* (*initfunc)(void); }; extern __attribute__((dllexport)) struct _inittab * PyImport_Inittab; __attribute__((dllexport)) int PyImport_ExtendInittab(struct _inittab *newtab); extern __attribute__((dllexport)) PyTypeObject PyNullImporter_Type; __attribute__((dllexport)) int PyImport_AppendInittab( const char *name, PyObject* (*initfunc)(void) ); struct _frozen { char *name; unsigned char *code; int size; }; extern __attribute__((dllexport)) struct _frozen * PyImport_FrozenModules; # 118 "./Include/Python.h" 2 # 1 "./Include/abstract.h" 1 #define Py_ABSTRACTOBJECT_H #define PyObject_CallFunction _PyObject_CallFunction_SizeT #define PyObject_CallMethod _PyObject_CallMethod_SizeT #define _PyObject_CallMethodId _PyObject_CallMethodId_SizeT # 219 "./Include/abstract.h" #define PyObject_DelAttrString(O,A) PyObject_SetAttrString((O),(A),NULL) # 230 "./Include/abstract.h" #define PyObject_DelAttr(O,A) PyObject_SetAttr((O),(A),NULL) # 266 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyObject_Call(PyObject *callable_object, PyObject *args, PyObject *kw); __attribute__((dllexport)) PyObject * PyObject_CallObject(PyObject *callable_object, PyObject *args); # 286 "./Include/abstract.h" __attribute__((dllexport)) PyObject * _PyObject_CallFunction_SizeT(PyObject *callable_object, char *format, ...); # 299 "./Include/abstract.h" __attribute__((dllexport)) PyObject * _PyObject_CallMethod_SizeT(PyObject *o, char *method, char *format, ...); # 311 "./Include/abstract.h" __attribute__((dllexport)) PyObject * _PyObject_CallMethodId_SizeT(PyObject *o, _Py_Identifier *method, char *format, ...); __attribute__((dllexport)) PyObject * _PyObject_CallFunction_SizeT(PyObject *callable, char *format, ...); __attribute__((dllexport)) PyObject * _PyObject_CallMethod_SizeT(PyObject *o, char *name, char *format, ...); __attribute__((dllexport)) PyObject * _PyObject_CallMethodId_SizeT(PyObject *o, _Py_Identifier *name, char *format, ...); __attribute__((dllexport)) PyObject * PyObject_CallFunctionObjArgs(PyObject *callable, ...); # 340 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyObject_CallMethodObjArgs(PyObject *o, PyObject *method, ...); __attribute__((dllexport)) PyObject * _PyObject_CallMethodObjIdArgs(PyObject *o, struct _Py_Identifier *method, ...); # 384 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyObject_Type(PyObject *o); __attribute__((dllexport)) Py_ssize_t PyObject_Size(PyObject *o); # 402 "./Include/abstract.h" #undef PyObject_Length __attribute__((dllexport)) Py_ssize_t PyObject_Length(PyObject *o); #define PyObject_Length PyObject_Size __attribute__((dllexport)) Py_ssize_t _PyObject_LengthHint(PyObject *o, Py_ssize_t); # 416 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyObject_GetItem(PyObject *o, PyObject *key); __attribute__((dllexport)) int PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v); __attribute__((dllexport)) int PyObject_DelItemString(PyObject *o, char *key); __attribute__((dllexport)) int PyObject_DelItem(PyObject *o, PyObject *key); # 453 "./Include/abstract.h" __attribute__((dllexport)) int PyObject_AsCharBuffer(PyObject *obj, const char **buffer, Py_ssize_t *buffer_len); # 468 "./Include/abstract.h" __attribute__((dllexport)) int PyObject_CheckReadBuffer(PyObject *obj); __attribute__((dllexport)) int PyObject_AsReadBuffer(PyObject *obj, const void **buffer, Py_ssize_t *buffer_len); # 491 "./Include/abstract.h" __attribute__((dllexport)) int PyObject_AsWriteBuffer(PyObject *obj, void **buffer, Py_ssize_t *buffer_len); # 508 "./Include/abstract.h" #define PyObject_CheckBuffer(obj) (((obj)->ob_type->tp_as_buffer != NULL) && ((obj)->ob_type->tp_as_buffer->bf_getbuffer != NULL)) __attribute__((dllexport)) int PyObject_GetBuffer(PyObject *obj, Py_buffer *view, int flags); # 525 "./Include/abstract.h" __attribute__((dllexport)) void * PyBuffer_GetPointer(Py_buffer *view, Py_ssize_t *indices); __attribute__((dllexport)) int PyBuffer_SizeFromFormat(const char *); __attribute__((dllexport)) int PyBuffer_ToContiguous(void *buf, Py_buffer *view, Py_ssize_t len, char order); __attribute__((dllexport)) int PyBuffer_FromContiguous(Py_buffer *view, void *buf, Py_ssize_t len, char order); # 562 "./Include/abstract.h" __attribute__((dllexport)) int PyObject_CopyData(PyObject *dest, PyObject *src); __attribute__((dllexport)) int PyBuffer_IsContiguous(const Py_buffer *view, char fort); __attribute__((dllexport)) void PyBuffer_FillContiguousStrides(int ndims, Py_ssize_t *shape, Py_ssize_t *strides, int itemsize, char fort); __attribute__((dllexport)) int PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf, Py_ssize_t len, int readonly, int flags); __attribute__((dllexport)) void PyBuffer_Release(Py_buffer *view); __attribute__((dllexport)) PyObject * PyObject_Format(PyObject* obj, PyObject *format_spec); __attribute__((dllexport)) PyObject * PyObject_GetIter(PyObject *); #define PyIter_Check(obj) ((obj)->ob_type->tp_iternext != NULL && (obj)->ob_type->tp_iternext != &_PyObject_NextNotImplemented) __attribute__((dllexport)) PyObject * PyIter_Next(PyObject *); __attribute__((dllexport)) int PyNumber_Check(PyObject *o); # 633 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyNumber_Add(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_Subtract(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_Multiply(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_FloorDivide(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_TrueDivide(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_Remainder(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_Divmod(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_Power(PyObject *o1, PyObject *o2, PyObject *o3); __attribute__((dllexport)) PyObject * PyNumber_Negative(PyObject *o); __attribute__((dllexport)) PyObject * PyNumber_Positive(PyObject *o); __attribute__((dllexport)) PyObject * PyNumber_Absolute(PyObject *o); __attribute__((dllexport)) PyObject * PyNumber_Invert(PyObject *o); __attribute__((dllexport)) PyObject * PyNumber_Lshift(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_Rshift(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_And(PyObject *o1, PyObject *o2); # 751 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyNumber_Xor(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_Or(PyObject *o1, PyObject *o2); #define PyIndex_Check(obj) ((obj)->ob_type->tp_as_number != NULL && (obj)->ob_type->tp_as_number->nb_index != NULL) __attribute__((dllexport)) PyObject * PyNumber_Index(PyObject *o); __attribute__((dllexport)) Py_ssize_t PyNumber_AsSsize_t(PyObject *o, PyObject *exc); # 788 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyNumber_Long(PyObject *o); __attribute__((dllexport)) PyObject * PyNumber_Float(PyObject *o); # 806 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyNumber_InPlaceAdd(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_InPlaceSubtract(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_InPlaceMultiply(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_InPlaceFloorDivide(PyObject *o1, PyObject *o2); # 840 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyNumber_InPlaceTrueDivide(PyObject *o1, PyObject *o2); # 850 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyNumber_InPlaceRemainder(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_InPlacePower(PyObject *o1, PyObject *o2, PyObject *o3); __attribute__((dllexport)) PyObject * PyNumber_InPlaceLshift(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_InPlaceRshift(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_InPlaceAnd(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_InPlaceXor(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_InPlaceOr(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PyNumber_ToBase(PyObject *n, int base); # 918 "./Include/abstract.h" __attribute__((dllexport)) int PySequence_Check(PyObject *o); # 927 "./Include/abstract.h" __attribute__((dllexport)) Py_ssize_t PySequence_Size(PyObject *o); #undef PySequence_Length __attribute__((dllexport)) Py_ssize_t PySequence_Length(PyObject *o); #define PySequence_Length PySequence_Size __attribute__((dllexport)) PyObject * PySequence_Concat(PyObject *o1, PyObject *o2); __attribute__((dllexport)) PyObject * PySequence_Repeat(PyObject *o, Py_ssize_t count); __attribute__((dllexport)) PyObject * PySequence_GetItem(PyObject *o, Py_ssize_t i); __attribute__((dllexport)) PyObject * PySequence_GetSlice(PyObject *o, Py_ssize_t i1, Py_ssize_t i2); __attribute__((dllexport)) int PySequence_SetItem(PyObject *o, Py_ssize_t i, PyObject *v); __attribute__((dllexport)) int PySequence_DelItem(PyObject *o, Py_ssize_t i); __attribute__((dllexport)) int PySequence_SetSlice(PyObject *o, Py_ssize_t i1, Py_ssize_t i2, PyObject *v); __attribute__((dllexport)) int PySequence_DelSlice(PyObject *o, Py_ssize_t i1, Py_ssize_t i2); __attribute__((dllexport)) PyObject * PySequence_Tuple(PyObject *o); __attribute__((dllexport)) PyObject * PySequence_List(PyObject *o); __attribute__((dllexport)) PyObject * PySequence_Fast(PyObject *o, const char* m); # 1027 "./Include/abstract.h" #define PySequence_Fast_GET_SIZE(o) (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o)) #define PySequence_Fast_GET_ITEM(o,i) (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) #define PySequence_ITEM(o,i) ( Py_TYPE(o)->tp_as_sequence->sq_item(o, i) ) #define PySequence_Fast_ITEMS(sf) (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item : ((PyTupleObject *)(sf))->ob_item) __attribute__((dllexport)) Py_ssize_t PySequence_Count(PyObject *o, PyObject *value); # 1062 "./Include/abstract.h" __attribute__((dllexport)) int PySequence_Contains(PyObject *seq, PyObject *ob); #define PY_ITERSEARCH_COUNT 1 #define PY_ITERSEARCH_INDEX 2 #define PY_ITERSEARCH_CONTAINS 3 __attribute__((dllexport)) Py_ssize_t _PySequence_IterSearch(PyObject *seq, PyObject *obj, int operation); # 1087 "./Include/abstract.h" #undef PySequence_In __attribute__((dllexport)) int PySequence_In(PyObject *o, PyObject *value); #define PySequence_In PySequence_Contains __attribute__((dllexport)) Py_ssize_t PySequence_Index(PyObject *o, PyObject *value); # 1109 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PySequence_InPlaceConcat(PyObject *o1, PyObject *o2); # 1118 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PySequence_InPlaceRepeat(PyObject *o, Py_ssize_t count); # 1129 "./Include/abstract.h" __attribute__((dllexport)) int PyMapping_Check(PyObject *o); # 1138 "./Include/abstract.h" __attribute__((dllexport)) Py_ssize_t PyMapping_Size(PyObject *o); # 1147 "./Include/abstract.h" #undef PyMapping_Length __attribute__((dllexport)) Py_ssize_t PyMapping_Length(PyObject *o); #define PyMapping_Length PyMapping_Size # 1160 "./Include/abstract.h" #define PyMapping_DelItemString(O,K) PyObject_DelItemString((O),(K)) # 1170 "./Include/abstract.h" #define PyMapping_DelItem(O,K) PyObject_DelItem((O),(K)) __attribute__((dllexport)) int PyMapping_HasKeyString(PyObject *o, char *key); # 1182 "./Include/abstract.h" __attribute__((dllexport)) int PyMapping_HasKey(PyObject *o, PyObject *key); # 1193 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyMapping_Keys(PyObject *o); __attribute__((dllexport)) PyObject * PyMapping_Values(PyObject *o); __attribute__((dllexport)) PyObject * PyMapping_Items(PyObject *o); # 1216 "./Include/abstract.h" __attribute__((dllexport)) PyObject * PyMapping_GetItemString(PyObject *o, char *key); __attribute__((dllexport)) int PyMapping_SetItemString(PyObject *o, char *key, PyObject *value); # 1234 "./Include/abstract.h" __attribute__((dllexport)) int PyObject_IsInstance(PyObject *object, PyObject *typeorclass); __attribute__((dllexport)) int PyObject_IsSubclass(PyObject *object, PyObject *typeorclass); __attribute__((dllexport)) int _PyObject_RealIsInstance(PyObject *inst, PyObject *cls); __attribute__((dllexport)) int _PyObject_RealIsSubclass(PyObject *derived, PyObject *cls); __attribute__((dllexport)) char *const * _PySequence_BytesToCharpArray(PyObject* self); __attribute__((dllexport)) void _Py_FreeCharPArray(char *const array[]); __attribute__((dllexport)) void _Py_add_one_to_index_F(int nd, Py_ssize_t *index, const Py_ssize_t *shape); __attribute__((dllexport)) void _Py_add_one_to_index_C(int nd, Py_ssize_t *index, const Py_ssize_t *shape); # 120 "./Include/Python.h" 2 # 1 "./Include/bltinmodule.h" 1 #define Py_BLTINMODULE_H extern __attribute__((dllexport)) PyTypeObject PyFilter_Type; extern __attribute__((dllexport)) PyTypeObject PyMap_Type; extern __attribute__((dllexport)) PyTypeObject PyZip_Type; # 121 "./Include/Python.h" 2 # 1 "./Include/compile.h" 1 #define Py_COMPILE_H # 1 "./Include/code.h" 1 #define Py_CODE_H typedef struct { PyObject ob_base; int co_argcount; int co_kwonlyargcount; int co_nlocals; int co_stacksize; int co_flags; PyObject *co_code; PyObject *co_consts; PyObject *co_names; PyObject *co_varnames; PyObject *co_freevars; PyObject *co_cellvars; unsigned char *co_cell2arg; PyObject *co_filename; PyObject *co_name; int co_firstlineno; PyObject *co_lnotab; void *co_zombieframe; PyObject *co_weakreflist; } PyCodeObject; #define CO_OPTIMIZED 0x0001 #define CO_NEWLOCALS 0x0002 #define CO_VARARGS 0x0004 #define CO_VARKEYWORDS 0x0008 #define CO_NESTED 0x0010 #define CO_GENERATOR 0x0020 #define CO_NOFREE 0x0040 #define CO_FUTURE_DIVISION 0x2000 #define CO_FUTURE_ABSOLUTE_IMPORT 0x4000 #define CO_FUTURE_WITH_STATEMENT 0x8000 #define CO_FUTURE_PRINT_FUNCTION 0x10000 #define CO_FUTURE_UNICODE_LITERALS 0x20000 #define CO_FUTURE_BARRY_AS_BDFL 0x40000 #define CO_CELL_NOT_AN_ARG 255 #define PY_PARSER_REQUIRES_FUTURE_KEYWORD #define CO_MAXBLOCKS 20 extern __attribute__((dllexport)) PyTypeObject PyCode_Type; #define PyCode_Check(op) (Py_TYPE(op) == &PyCode_Type) #define PyCode_GetNumFree(op) (PyTuple_GET_SIZE((op)->co_freevars)) __attribute__((dllexport)) PyCodeObject * PyCode_New( int, int, int, int, int, PyObject *, PyObject *, PyObject *, PyObject *, PyObject *, PyObject *, PyObject *, PyObject *, int, PyObject *); __attribute__((dllexport)) PyCodeObject * PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno); __attribute__((dllexport)) int PyCode_Addr2Line(PyCodeObject *, int); typedef struct _addr_pair { int ap_lower; int ap_upper; } PyAddrPair; __attribute__((dllexport)) int _PyCode_CheckLineNumber(PyCodeObject* co, int lasti, PyAddrPair *bounds); __attribute__((dllexport)) PyObject* PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names, PyObject *lineno_obj); # 6 "./Include/compile.h" 2 struct _node; __attribute__((dllexport)) PyCodeObject * PyNode_Compile(struct _node *, const char *); typedef struct { int ff_features; int ff_lineno; } PyFutureFeatures; #define FUTURE_NESTED_SCOPES "nested_scopes" #define FUTURE_GENERATORS "generators" #define FUTURE_DIVISION "division" #define FUTURE_ABSOLUTE_IMPORT "absolute_import" #define FUTURE_WITH_STATEMENT "with_statement" #define FUTURE_PRINT_FUNCTION "print_function" #define FUTURE_UNICODE_LITERALS "unicode_literals" #define FUTURE_BARRY_AS_BDFL "barry_as_FLUFL" struct _mod; #define PyAST_Compile(mod,s,f,ar) PyAST_CompileEx(mod, s, f, -1, ar) __attribute__((dllexport)) PyCodeObject * PyAST_CompileEx( struct _mod *mod, const char *filename, PyCompilerFlags *flags, int optimize, PyArena *arena); __attribute__((dllexport)) PyFutureFeatures * PyFuture_FromAST(struct _mod *, const char *); __attribute__((dllexport)) PyObject* _Py_Mangle(PyObject *p, PyObject *name); # 52 "./Include/compile.h" #define Py_single_input 256 #define Py_file_input 257 #define Py_eval_input 258 # 123 "./Include/Python.h" 2 # 1 "./Include/eval.h" 1 #define Py_EVAL_H __attribute__((dllexport)) PyObject * PyEval_EvalCode(PyObject *, PyObject *, PyObject *); __attribute__((dllexport)) PyObject * PyEval_EvalCodeEx(PyObject *co, PyObject *globals, PyObject *locals, PyObject **args, int argc, PyObject **kwds, int kwdc, PyObject **defs, int defc, PyObject *kwdefs, PyObject *closure); __attribute__((dllexport)) PyObject * _PyEval_CallTracing(PyObject *func, PyObject *args); # 124 "./Include/Python.h" 2 # 1 "./Include/pyctype.h" 1 #define PYCTYPE_H #define PY_CTF_LOWER 0x01 #define PY_CTF_UPPER 0x02 #define PY_CTF_ALPHA (PY_CTF_LOWER|PY_CTF_UPPER) #define PY_CTF_DIGIT 0x04 #define PY_CTF_ALNUM (PY_CTF_ALPHA|PY_CTF_DIGIT) #define PY_CTF_SPACE 0x08 #define PY_CTF_XDIGIT 0x10 extern __attribute__((dllexport)) const unsigned int _Py_ctype_table[256]; #define Py_ISLOWER(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_LOWER) #define Py_ISUPPER(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_UPPER) #define Py_ISALPHA(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA) #define Py_ISDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT) #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT) #define Py_ISALNUM(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM) #define Py_ISSPACE(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE) extern __attribute__((dllexport)) const unsigned char _Py_ctype_tolower[256]; extern __attribute__((dllexport)) const unsigned char _Py_ctype_toupper[256]; #define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)]) #define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)]) # 126 "./Include/Python.h" 2 # 1 "./Include/pystrtod.h" 1 #define Py_STRTOD_H __attribute__((dllexport)) double PyOS_string_to_double(const char *str, char **endptr, PyObject *overflow_exception); __attribute__((dllexport)) char * PyOS_double_to_string(double val, char format_code, int precision, int flags, int *type); __attribute__((dllexport)) double _Py_parse_inf_or_nan(const char *p, char **endptr); #define Py_DTSF_SIGN 0x01 #define Py_DTSF_ADD_DOT_0 0x02 #define Py_DTSF_ALT 0x04 #define Py_DTST_FINITE 0 #define Py_DTST_INFINITE 1 #define Py_DTST_NAN 2 # 127 "./Include/Python.h" 2 # 1 "./Include/pystrcmp.h" 1 #define Py_STRCMP_H __attribute__((dllexport)) int PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); __attribute__((dllexport)) int PyOS_mystricmp(const char *, const char *); #define PyOS_strnicmp PyOS_mystrnicmp #define PyOS_stricmp PyOS_mystricmp # 128 "./Include/Python.h" 2 # 1 "./Include/dtoa.h" 1 __attribute__((dllexport)) double _Py_dg_strtod(const char *str, char **ptr); __attribute__((dllexport)) char * _Py_dg_dtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve); __attribute__((dllexport)) void _Py_dg_freedtoa(char *s); __attribute__((dllexport)) double _Py_dg_stdnan(int sign); __attribute__((dllexport)) double _Py_dg_infinity(int sign); # 129 "./Include/Python.h" 2 # 1 "./Include/fileutils.h" 1 #define Py_FILEUTILS_H __attribute__((dllexport)) PyObject * _Py_device_encoding(int); __attribute__((dllexport)) wchar_t * _Py_char2wchar( const char *arg, size_t *size); __attribute__((dllexport)) char* _Py_wchar2char( const wchar_t *text, size_t *error_pos); __attribute__((dllexport)) int _Py_wstat( const wchar_t* path, struct stat *buf); __attribute__((dllexport)) int _Py_stat( PyObject *path, struct stat *statbuf); __attribute__((dllexport)) FILE * _Py_wfopen( const wchar_t *path, const wchar_t *mode); __attribute__((dllexport)) FILE* _Py_fopen( PyObject *path, const char *mode); __attribute__((dllexport)) int _Py_wreadlink( const wchar_t *path, wchar_t *buf, size_t bufsiz); __attribute__((dllexport)) wchar_t* _Py_wrealpath( const wchar_t *path, wchar_t *resolved_path, size_t resolved_path_size); __attribute__((dllexport)) wchar_t* _Py_wgetcwd( wchar_t *buf, size_t size); # 130 "./Include/Python.h" 2 # 1 "./Include/pyfpe.h" 1 #define Py_PYFPE_H # 168 "./Include/pyfpe.h" #define PyFPE_START_PROTECT(err_string,leave_stmt) #define PyFPE_END_PROTECT(v) # 131 "./Include/Python.h" 2 # 9 "/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c" 2 # 1 "./Include/structmember.h" 1 #define Py_STRUCTMEMBER_H # 1 "/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/stddef.h" 1 3 4 # 11 "./Include/structmember.h" 2 typedef struct PyMemberDef { char *name; int type; Py_ssize_t offset; int flags; char *doc; } PyMemberDef; #define T_SHORT 0 #define T_INT 1 #define T_LONG 2 #define T_FLOAT 3 #define T_DOUBLE 4 #define T_STRING 5 #define T_OBJECT 6 #define T_CHAR 7 #define T_BYTE 8 #define T_UBYTE 9 #define T_USHORT 10 #define T_UINT 11 #define T_ULONG 12 #define T_STRING_INPLACE 13 #define T_BOOL 14 #define T_OBJECT_EX 16 #define T_LONGLONG 17 #define T_ULONGLONG 18 #define T_PYSSIZET 19 #define T_NONE 20 #define READONLY 1 #define READ_RESTRICTED 2 #define PY_WRITE_RESTRICTED 4 #define RESTRICTED (READ_RESTRICTED | PY_WRITE_RESTRICTED) __attribute__((dllexport)) PyObject * PyMember_GetOne(const char *, struct PyMemberDef *); __attribute__((dllexport)) int PyMember_SetOne(char *, struct PyMemberDef *, PyObject *); # 10 "/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c" 2 static PyTypeObject PyStructType; typedef struct _formatdef { char format; Py_ssize_t size; Py_ssize_t alignment; PyObject* (*unpack)(const char *, const struct _formatdef *); int (*pack)(char *, PyObject *, const struct _formatdef *); } formatdef; typedef struct _formatcode { const struct _formatdef *fmtdef; Py_ssize_t offset; Py_ssize_t size; Py_ssize_t repeat; } formatcode; typedef struct { PyObject ob_base; Py_ssize_t s_size; Py_ssize_t s_len; formatcode *s_codes; PyObject *s_format; PyObject *weakreflist; } PyStructObject; #define PyStruct_Check(op) PyObject_TypeCheck(op, &PyStructType) #define PyStruct_CheckExact(op) (Py_TYPE(op) == &PyStructType) static PyObject *StructError; typedef struct { char c; short x; } st_short; typedef struct { char c; int x; } st_int; typedef struct { char c; long x; } st_long; typedef struct { char c; float x; } st_float; typedef struct { char c; double x; } st_double; typedef struct { char c; void *x; } st_void_p; typedef struct { char c; size_t x; } st_size_t; #define SHORT_ALIGN (sizeof(st_short) - sizeof(short)) #define INT_ALIGN (sizeof(st_int) - sizeof(int)) #define LONG_ALIGN (sizeof(st_long) - sizeof(long)) #define FLOAT_ALIGN (sizeof(st_float) - sizeof(float)) #define DOUBLE_ALIGN (sizeof(st_double) - sizeof(double)) #define VOID_P_ALIGN (sizeof(st_void_p) - sizeof(void *)) #define SIZE_T_ALIGN (sizeof(st_size_t) - sizeof(size_t)) typedef struct { char c; long long x; } s_long_long; #define LONG_LONG_ALIGN (sizeof(s_long_long) - sizeof(PY_LONG_LONG)) #define BOOL_TYPE _Bool typedef struct { char c; _Bool x; } s_bool; #define BOOL_ALIGN (sizeof(s_bool) - sizeof(BOOL_TYPE)) #define STRINGIFY(x) #x # 97 "/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c" static PyObject * get_pylong(PyObject *v) { ((void)0); if (!((((((PyObject*)(v))->ob_type))->tp_flags & ((1L<<24))) != 0)) { if (((v)->ob_type->tp_as_number != ((void *)0) && (v)->ob_type->tp_as_number->nb_index != ((void *)0))) { v = PyNumber_Index(v); if (v == ((void *)0)) return ((void *)0); } else { PyErr_SetString(StructError, "required argument is not an integer"); return ((void *)0); } } else ( ((PyObject*)(v))->ob_refcnt++); ((void)0); return v; } static int get_long(PyObject *v, long *p) { long x; v = get_pylong(v); if (v == ((void *)0)) return -1; ((void)0); x = PyLong_AsLong(v); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); if (x == (long)-1 && PyErr_Occurred()) { if (PyErr_ExceptionMatches(PyExc_OverflowError)) PyErr_SetString(StructError, "argument out of range"); return -1; } *p = x; return 0; } static int get_ulong(PyObject *v, unsigned long *p) { unsigned long x; v = get_pylong(v); if (v == ((void *)0)) return -1; ((void)0); x = PyLong_AsUnsignedLong(v); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); if (x == (unsigned long)-1 && PyErr_Occurred()) { if (PyErr_ExceptionMatches(PyExc_OverflowError)) PyErr_SetString(StructError, "argument out of range"); return -1; } *p = x; return 0; } static int get_longlong(PyObject *v, long long *p) { long long x; v = get_pylong(v); if (v == ((void *)0)) return -1; ((void)0); x = PyLong_AsLongLong(v); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); if (x == (long long)-1 && PyErr_Occurred()) { if (PyErr_ExceptionMatches(PyExc_OverflowError)) PyErr_SetString(StructError, "argument out of range"); return -1; } *p = x; return 0; } static int get_ulonglong(PyObject *v, unsigned long long *p) { unsigned long long x; v = get_pylong(v); if (v == ((void *)0)) return -1; ((void)0); x = PyLong_AsUnsignedLongLong(v); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); if (x == (unsigned long long)-1 && PyErr_Occurred()) { if (PyErr_ExceptionMatches(PyExc_OverflowError)) PyErr_SetString(StructError, "argument out of range"); return -1; } *p = x; return 0; } static int get_ssize_t(PyObject *v, Py_ssize_t *p) { Py_ssize_t x; v = get_pylong(v); if (v == ((void *)0)) return -1; ((void)0); x = PyLong_AsSsize_t(v); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); if (x == (Py_ssize_t)-1 && PyErr_Occurred()) { if (PyErr_ExceptionMatches(PyExc_OverflowError)) PyErr_SetString(StructError, "argument out of range"); return -1; } *p = x; return 0; } static int get_size_t(PyObject *v, size_t *p) { size_t x; v = get_pylong(v); if (v == ((void *)0)) return -1; ((void)0); x = PyLong_AsSize_t(v); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); if (x == (size_t)-1 && PyErr_Occurred()) { if (PyErr_ExceptionMatches(PyExc_OverflowError)) PyErr_SetString(StructError, "argument out of range"); return -1; } *p = x; return 0; } #define RANGE_ERROR(x,f,flag,mask) return _range_error(f, flag) static PyObject * unpack_float(const char *p, int le) { double x; x = _PyFloat_Unpack4((unsigned char *)p, le); if (x == -1.0 && PyErr_Occurred()) return ((void *)0); return PyFloat_FromDouble(x); } static PyObject * unpack_double(const char *p, int le) { double x; x = _PyFloat_Unpack8((unsigned char *)p, le); if (x == -1.0 && PyErr_Occurred()) return ((void *)0); return PyFloat_FromDouble(x); } static int _range_error(const formatdef *f, int is_unsigned) { # 307 "/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c" const size_t ulargest = (size_t)-1 >> ((4 - f->size)*8); ((void)0); if (is_unsigned) PyErr_Format(StructError, "'%c' format requires 0 <= number <= %zu", f->format, ulargest); else { const Py_ssize_t largest = (Py_ssize_t)(ulargest >> 1); PyErr_Format(StructError, "'%c' format requires %zd <= number <= %zd", f->format, ~ largest, largest); } return -1; } # 347 "/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c" static PyObject * nu_char(const char *p, const formatdef *f) { return PyBytes_FromStringAndSize(p, 1); } static PyObject * nu_byte(const char *p, const formatdef *f) { return PyLong_FromLong((long) *(signed char *)p); } static PyObject * nu_ubyte(const char *p, const formatdef *f) { return PyLong_FromLong((long) *(unsigned char *)p); } static PyObject * nu_short(const char *p, const formatdef *f) { short x; memcpy((char *)&x, p, sizeof x); return PyLong_FromLong((long)x); } static PyObject * nu_ushort(const char *p, const formatdef *f) { unsigned short x; memcpy((char *)&x, p, sizeof x); return PyLong_FromLong((long)x); } static PyObject * nu_int(const char *p, const formatdef *f) { int x; memcpy((char *)&x, p, sizeof x); return PyLong_FromLong((long)x); } static PyObject * nu_uint(const char *p, const formatdef *f) { unsigned int x; memcpy((char *)&x, p, sizeof x); if (x <= ((unsigned int)2147483647L)) return PyLong_FromLong((long)x); return PyLong_FromUnsignedLong((unsigned long)x); } static PyObject * nu_long(const char *p, const formatdef *f) { long x; memcpy((char *)&x, p, sizeof x); return PyLong_FromLong(x); } static PyObject * nu_ulong(const char *p, const formatdef *f) { unsigned long x; memcpy((char *)&x, p, sizeof x); if (x <= 2147483647L) return PyLong_FromLong((long)x); return PyLong_FromUnsignedLong(x); } static PyObject * nu_ssize_t(const char *p, const formatdef *f) { Py_ssize_t x; memcpy((char *)&x, p, sizeof x); return PyLong_FromSsize_t(x); } static PyObject * nu_size_t(const char *p, const formatdef *f) { size_t x; memcpy((char *)&x, p, sizeof x); return PyLong_FromSize_t(x); } static PyObject * nu_longlong(const char *p, const formatdef *f) { long long x; memcpy((char *)&x, p, sizeof x); if (x >= (-2147483647L -1) && x <= 2147483647L) return PyLong_FromLong((long)(x)); return PyLong_FromLongLong(x); } static PyObject * nu_ulonglong(const char *p, const formatdef *f) { unsigned long long x; memcpy((char *)&x, p, sizeof x); if (x <= 2147483647L) return PyLong_FromLong((long)(x)); return PyLong_FromUnsignedLongLong(x); } static PyObject * nu_bool(const char *p, const formatdef *f) { _Bool x; memcpy((char *)&x, p, sizeof x); return PyBool_FromLong(x != 0); } static PyObject * nu_float(const char *p, const formatdef *f) { float x; memcpy((char *)&x, p, sizeof x); return PyFloat_FromDouble((double)x); } static PyObject * nu_double(const char *p, const formatdef *f) { double x; memcpy((char *)&x, p, sizeof x); return PyFloat_FromDouble(x); } static PyObject * nu_void_p(const char *p, const formatdef *f) { void *x; memcpy((char *)&x, p, sizeof x); return PyLong_FromVoidPtr(x); } static int np_byte(char *p, PyObject *v, const formatdef *f) { long x; if (get_long(v, &x) < 0) return -1; if (x < -128 || x > 127){ PyErr_SetString(StructError, "byte format requires -128 <= number <= 127"); return -1; } *p = (char)x; return 0; } static int np_ubyte(char *p, PyObject *v, const formatdef *f) { long x; if (get_long(v, &x) < 0) return -1; if (x < 0 || x > 255){ PyErr_SetString(StructError, "ubyte format requires 0 <= number <= 255"); return -1; } *p = (char)x; return 0; } static int np_char(char *p, PyObject *v, const formatdef *f) { if (!((((((PyObject*)(v))->ob_type))->tp_flags & ((1L<<27))) != 0) || PyBytes_Size(v) != 1) { PyErr_SetString(StructError, "char format requires a bytes object of length 1"); return -1; } *p = *PyBytes_AsString(v); return 0; } static int np_short(char *p, PyObject *v, const formatdef *f) { long x; short y; if (get_long(v, &x) < 0) return -1; if (x < (-32768) || x > 32767){ PyErr_SetString(StructError, "short format requires " "SHRT_MIN" " <= number <= " "SHRT_MAX"); return -1; } y = (short)x; memcpy(p, (char *)&y, sizeof y); return 0; } static int np_ushort(char *p, PyObject *v, const formatdef *f) { long x; unsigned short y; if (get_long(v, &x) < 0) return -1; if (x < 0 || x > 65535){ PyErr_SetString(StructError, "ushort format requires 0 <= number <= " "USHRT_MAX"); return -1; } y = (unsigned short)x; memcpy(p, (char *)&y, sizeof y); return 0; } static int np_int(char *p, PyObject *v, const formatdef *f) { long x; int y; if (get_long(v, &x) < 0) return -1; y = (int)x; memcpy(p, (char *)&y, sizeof y); return 0; } static int np_uint(char *p, PyObject *v, const formatdef *f) { unsigned long x; unsigned int y; if (get_ulong(v, &x) < 0) return -1; y = (unsigned int)x; memcpy(p, (char *)&y, sizeof y); return 0; } static int np_long(char *p, PyObject *v, const formatdef *f) { long x; if (get_long(v, &x) < 0) return -1; memcpy(p, (char *)&x, sizeof x); return 0; } static int np_ulong(char *p, PyObject *v, const formatdef *f) { unsigned long x; if (get_ulong(v, &x) < 0) return -1; memcpy(p, (char *)&x, sizeof x); return 0; } static int np_ssize_t(char *p, PyObject *v, const formatdef *f) { Py_ssize_t x; if (get_ssize_t(v, &x) < 0) return -1; memcpy(p, (char *)&x, sizeof x); return 0; } static int np_size_t(char *p, PyObject *v, const formatdef *f) { size_t x; if (get_size_t(v, &x) < 0) return -1; memcpy(p, (char *)&x, sizeof x); return 0; } static int np_longlong(char *p, PyObject *v, const formatdef *f) { long long x; if (get_longlong(v, &x) < 0) return -1; memcpy(p, (char *)&x, sizeof x); return 0; } static int np_ulonglong(char *p, PyObject *v, const formatdef *f) { unsigned long long x; if (get_ulonglong(v, &x) < 0) return -1; memcpy(p, (char *)&x, sizeof x); return 0; } static int np_bool(char *p, PyObject *v, const formatdef *f) { int y; _Bool x; y = PyObject_IsTrue(v); if (y < 0) return -1; x = y; memcpy(p, (char *)&x, sizeof x); return 0; } static int np_float(char *p, PyObject *v, const formatdef *f) { float x = (float)PyFloat_AsDouble(v); if (x == -1 && PyErr_Occurred()) { PyErr_SetString(StructError, "required argument is not a float"); return -1; } memcpy(p, (char *)&x, sizeof x); return 0; } static int np_double(char *p, PyObject *v, const formatdef *f) { double x = PyFloat_AsDouble(v); if (x == -1 && PyErr_Occurred()) { PyErr_SetString(StructError, "required argument is not a float"); return -1; } memcpy(p, (char *)&x, sizeof(double)); return 0; } static int np_void_p(char *p, PyObject *v, const formatdef *f) { void *x; v = get_pylong(v); if (v == ((void *)0)) return -1; ((void)0); x = PyLong_AsVoidPtr(v); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); if (x == ((void *)0) && PyErr_Occurred()) return -1; memcpy(p, (char *)&x, sizeof x); return 0; } static formatdef native_table[] = { {'x', sizeof(char), 0, ((void *)0)}, {'b', sizeof(char), 0, nu_byte, np_byte}, {'B', sizeof(char), 0, nu_ubyte, np_ubyte}, {'c', sizeof(char), 0, nu_char, np_char}, {'s', sizeof(char), 0, ((void *)0)}, {'p', sizeof(char), 0, ((void *)0)}, {'h', sizeof(short), (sizeof(st_short) - sizeof(short)), nu_short, np_short}, {'H', sizeof(short), (sizeof(st_short) - sizeof(short)), nu_ushort, np_ushort}, {'i', sizeof(int), (sizeof(st_int) - sizeof(int)), nu_int, np_int}, {'I', sizeof(int), (sizeof(st_int) - sizeof(int)), nu_uint, np_uint}, {'l', sizeof(long), (sizeof(st_long) - sizeof(long)), nu_long, np_long}, {'L', sizeof(long), (sizeof(st_long) - sizeof(long)), nu_ulong, np_ulong}, {'n', sizeof(size_t), (sizeof(st_size_t) - sizeof(size_t)), nu_ssize_t, np_ssize_t}, {'N', sizeof(size_t), (sizeof(st_size_t) - sizeof(size_t)), nu_size_t, np_size_t}, {'q', sizeof(long long), (sizeof(s_long_long) - sizeof(long long)), nu_longlong, np_longlong}, {'Q', sizeof(long long), (sizeof(s_long_long) - sizeof(long long)), nu_ulonglong,np_ulonglong}, {'?', sizeof(_Bool), (sizeof(s_bool) - sizeof(_Bool)), nu_bool, np_bool}, {'f', sizeof(float), (sizeof(st_float) - sizeof(float)), nu_float, np_float}, {'d', sizeof(double), (sizeof(st_double) - sizeof(double)), nu_double, np_double}, {'P', sizeof(void *), (sizeof(st_void_p) - sizeof(void *)), nu_void_p, np_void_p}, {0} }; static PyObject * bu_int(const char *p, const formatdef *f) { long x = 0; Py_ssize_t i = f->size; const unsigned char *bytes = (const unsigned char *)p; do { x = (x<<8) | *bytes++; } while (--i > 0); if (4 > f->size) x |= -(x & (1L << ((8 * f->size) - 1))); return PyLong_FromLong(x); } static PyObject * bu_uint(const char *p, const formatdef *f) { unsigned long x = 0; Py_ssize_t i = f->size; const unsigned char *bytes = (const unsigned char *)p; do { x = (x<<8) | *bytes++; } while (--i > 0); if (x <= 2147483647L) return PyLong_FromLong((long)x); return PyLong_FromUnsignedLong(x); } static PyObject * bu_longlong(const char *p, const formatdef *f) { long long x = 0; Py_ssize_t i = f->size; const unsigned char *bytes = (const unsigned char *)p; do { x = (x<<8) | *bytes++; } while (--i > 0); if (8 > f->size) x |= -(x & ((long long)1 << ((8 * f->size) - 1))); if (x >= (-2147483647L -1) && x <= 2147483647L) return PyLong_FromLong((long)(x)); return PyLong_FromLongLong(x); } static PyObject * bu_ulonglong(const char *p, const formatdef *f) { unsigned long long x = 0; Py_ssize_t i = f->size; const unsigned char *bytes = (const unsigned char *)p; do { x = (x<<8) | *bytes++; } while (--i > 0); if (x <= 2147483647L) return PyLong_FromLong((long)(x)); return PyLong_FromUnsignedLongLong(x); } static PyObject * bu_float(const char *p, const formatdef *f) { return unpack_float(p, 0); } static PyObject * bu_double(const char *p, const formatdef *f) { return unpack_double(p, 0); } static PyObject * bu_bool(const char *p, const formatdef *f) { char x; memcpy((char *)&x, p, sizeof x); return PyBool_FromLong(x != 0); } static int bp_int(char *p, PyObject *v, const formatdef *f) { long x; Py_ssize_t i; if (get_long(v, &x) < 0) return -1; i = f->size; if (i != 4) { if ((i == 2) && (x < -32768 || x > 32767)) return _range_error(f, 0); } do { p[--i] = (char)x; x >>= 8; } while (i > 0); return 0; } static int bp_uint(char *p, PyObject *v, const formatdef *f) { unsigned long x; Py_ssize_t i; if (get_ulong(v, &x) < 0) return -1; i = f->size; if (i != 4) { unsigned long maxint = 1; maxint <<= (unsigned long)(i * 8); if (x >= maxint) return _range_error(f, 1); } do { p[--i] = (char)x; x >>= 8; } while (i > 0); return 0; } static int bp_longlong(char *p, PyObject *v, const formatdef *f) { int res; v = get_pylong(v); if (v == ((void *)0)) return -1; res = _PyLong_AsByteArray((PyLongObject *)v, (unsigned char *)p, 8, 0, 1 ); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); return res; } static int bp_ulonglong(char *p, PyObject *v, const formatdef *f) { int res; v = get_pylong(v); if (v == ((void *)0)) return -1; res = _PyLong_AsByteArray((PyLongObject *)v, (unsigned char *)p, 8, 0, 0 ); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); return res; } static int bp_float(char *p, PyObject *v, const formatdef *f) { double x = PyFloat_AsDouble(v); if (x == -1 && PyErr_Occurred()) { PyErr_SetString(StructError, "required argument is not a float"); return -1; } return _PyFloat_Pack4(x, (unsigned char *)p, 0); } static int bp_double(char *p, PyObject *v, const formatdef *f) { double x = PyFloat_AsDouble(v); if (x == -1 && PyErr_Occurred()) { PyErr_SetString(StructError, "required argument is not a float"); return -1; } return _PyFloat_Pack8(x, (unsigned char *)p, 0); } static int bp_bool(char *p, PyObject *v, const formatdef *f) { int y; y = PyObject_IsTrue(v); if (y < 0) return -1; *p = (char)y; return 0; } static formatdef bigendian_table[] = { {'x', 1, 0, ((void *)0)}, {'b', 1, 0, nu_byte, np_byte}, {'B', 1, 0, nu_ubyte, np_ubyte}, {'c', 1, 0, nu_char, np_char}, {'s', 1, 0, ((void *)0)}, {'p', 1, 0, ((void *)0)}, {'h', 2, 0, bu_int, bp_int}, {'H', 2, 0, bu_uint, bp_uint}, {'i', 4, 0, bu_int, bp_int}, {'I', 4, 0, bu_uint, bp_uint}, {'l', 4, 0, bu_int, bp_int}, {'L', 4, 0, bu_uint, bp_uint}, {'q', 8, 0, bu_longlong, bp_longlong}, {'Q', 8, 0, bu_ulonglong, bp_ulonglong}, {'?', 1, 0, bu_bool, bp_bool}, {'f', 4, 0, bu_float, bp_float}, {'d', 8, 0, bu_double, bp_double}, {0} }; static PyObject * lu_int(const char *p, const formatdef *f) { long x = 0; Py_ssize_t i = f->size; const unsigned char *bytes = (const unsigned char *)p; do { x = (x<<8) | bytes[--i]; } while (i > 0); if (4 > f->size) x |= -(x & (1L << ((8 * f->size) - 1))); return PyLong_FromLong(x); } static PyObject * lu_uint(const char *p, const formatdef *f) { unsigned long x = 0; Py_ssize_t i = f->size; const unsigned char *bytes = (const unsigned char *)p; do { x = (x<<8) | bytes[--i]; } while (i > 0); if (x <= 2147483647L) return PyLong_FromLong((long)x); return PyLong_FromUnsignedLong((long)x); } static PyObject * lu_longlong(const char *p, const formatdef *f) { long long x = 0; Py_ssize_t i = f->size; const unsigned char *bytes = (const unsigned char *)p; do { x = (x<<8) | bytes[--i]; } while (i > 0); if (8 > f->size) x |= -(x & ((long long)1 << ((8 * f->size) - 1))); if (x >= (-2147483647L -1) && x <= 2147483647L) return PyLong_FromLong((long)(x)); return PyLong_FromLongLong(x); } static PyObject * lu_ulonglong(const char *p, const formatdef *f) { unsigned long long x = 0; Py_ssize_t i = f->size; const unsigned char *bytes = (const unsigned char *)p; do { x = (x<<8) | bytes[--i]; } while (i > 0); if (x <= 2147483647L) return PyLong_FromLong((long)(x)); return PyLong_FromUnsignedLongLong(x); } static PyObject * lu_float(const char *p, const formatdef *f) { return unpack_float(p, 1); } static PyObject * lu_double(const char *p, const formatdef *f) { return unpack_double(p, 1); } static int lp_int(char *p, PyObject *v, const formatdef *f) { long x; Py_ssize_t i; if (get_long(v, &x) < 0) return -1; i = f->size; if (i != 4) { if ((i == 2) && (x < -32768 || x > 32767)) return _range_error(f, 0); } do { *p++ = (char)x; x >>= 8; } while (--i > 0); return 0; } static int lp_uint(char *p, PyObject *v, const formatdef *f) { unsigned long x; Py_ssize_t i; if (get_ulong(v, &x) < 0) return -1; i = f->size; if (i != 4) { unsigned long maxint = 1; maxint <<= (unsigned long)(i * 8); if (x >= maxint) return _range_error(f, 1); } do { *p++ = (char)x; x >>= 8; } while (--i > 0); return 0; } static int lp_longlong(char *p, PyObject *v, const formatdef *f) { int res; v = get_pylong(v); if (v == ((void *)0)) return -1; res = _PyLong_AsByteArray((PyLongObject*)v, (unsigned char *)p, 8, 1, 1 ); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); return res; } static int lp_ulonglong(char *p, PyObject *v, const formatdef *f) { int res; v = get_pylong(v); if (v == ((void *)0)) return -1; res = _PyLong_AsByteArray((PyLongObject*)v, (unsigned char *)p, 8, 1, 0 ); do { if ( --((PyObject*)(v))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(v)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(v)))); } while (0); return res; } static int lp_float(char *p, PyObject *v, const formatdef *f) { double x = PyFloat_AsDouble(v); if (x == -1 && PyErr_Occurred()) { PyErr_SetString(StructError, "required argument is not a float"); return -1; } return _PyFloat_Pack4(x, (unsigned char *)p, 1); } static int lp_double(char *p, PyObject *v, const formatdef *f) { double x = PyFloat_AsDouble(v); if (x == -1 && PyErr_Occurred()) { PyErr_SetString(StructError, "required argument is not a float"); return -1; } return _PyFloat_Pack8(x, (unsigned char *)p, 1); } static formatdef lilendian_table[] = { {'x', 1, 0, ((void *)0)}, {'b', 1, 0, nu_byte, np_byte}, {'B', 1, 0, nu_ubyte, np_ubyte}, {'c', 1, 0, nu_char, np_char}, {'s', 1, 0, ((void *)0)}, {'p', 1, 0, ((void *)0)}, {'h', 2, 0, lu_int, lp_int}, {'H', 2, 0, lu_uint, lp_uint}, {'i', 4, 0, lu_int, lp_int}, {'I', 4, 0, lu_uint, lp_uint}, {'l', 4, 0, lu_int, lp_int}, {'L', 4, 0, lu_uint, lp_uint}, {'q', 8, 0, lu_longlong, lp_longlong}, {'Q', 8, 0, lu_ulonglong, lp_ulonglong}, {'?', 1, 0, bu_bool, bp_bool}, {'f', 4, 0, lu_float, lp_float}, {'d', 8, 0, lu_double, lp_double}, {0} }; static const formatdef * whichtable(char **pfmt) { const char *fmt = (*pfmt)++; switch (*fmt) { case '<': return lilendian_table; case '>': case '!': return bigendian_table; case '=': { return bigendian_table; } default: --*pfmt; case '@': return native_table; } } static const formatdef * getentry(int c, const formatdef *f) { for (; f->format != '\0'; f++) { if (f->format == c) { return f; } } PyErr_SetString(StructError, "bad char in struct format"); return ((void *)0); } static Py_ssize_t align(Py_ssize_t size, char c, const formatdef *e) { Py_ssize_t extra; if (e->format == c) { if (e->alignment && size > 0) { extra = (e->alignment - 1) - (size - 1) % (e->alignment); if (extra > ((Py_ssize_t)(((size_t)-1)>>1)) - size) return -1; size += extra; } } return size; } static int prepare_s(PyStructObject *self) { const formatdef *f; const formatdef *e; formatcode *codes; const char *s; const char *fmt; char c; Py_ssize_t size, len, ncodes, num, itemsize; fmt = (((void)0), (((PyBytesObject *)(self->s_format))->ob_sval)); f = whichtable((char **)&fmt); s = fmt; size = 0; len = 0; ncodes = 0; while ((c = *s++) != '\0') { if ((_Py_ctype_table[((unsigned char)((((unsigned char)((c) & 0xff))) & 0xff))] & 0x08)) continue; if ('0' <= c && c <= '9') { num = c - '0'; while ('0' <= (c = *s++) && c <= '9') { if (num >= ((Py_ssize_t)(((size_t)-1)>>1)) / 10 && ( num > ((Py_ssize_t)(((size_t)-1)>>1)) / 10 || (c - '0') > ((Py_ssize_t)(((size_t)-1)>>1)) % 10)) goto overflow; num = num*10 + (c - '0'); } if (c == '\0') { PyErr_SetString(StructError, "repeat count given without format specifier"); return -1; } } else num = 1; e = getentry(c, f); if (e == ((void *)0)) return -1; switch (c) { case 's': case 'p': len++; ncodes++; break; case 'x': break; default: len += num; if (num) ncodes++; break; } itemsize = e->size; size = align(size, c, e); if (size == -1) goto overflow; if (num > (((Py_ssize_t)(((size_t)-1)>>1)) - size) / itemsize) goto overflow; size += num * itemsize; } if ((ncodes + 1) > (((Py_ssize_t)(((size_t)-1)>>1)) / sizeof(formatcode))) { PyErr_NoMemory(); return -1; } self->s_size = size; self->s_len = len; codes = ((size_t)((ncodes + 1) * sizeof(formatcode)) > (size_t)((Py_ssize_t)(((size_t)-1)>>1)) ? ((void *)0) : malloc(((ncodes + 1) * sizeof(formatcode)) ? ((ncodes + 1) * sizeof(formatcode)) : 1)); if (codes == ((void *)0)) { PyErr_NoMemory(); return -1; } if (self->s_codes != ((void *)0)) free(self->s_codes); self->s_codes = codes; s = fmt; size = 0; while ((c = *s++) != '\0') { if ((_Py_ctype_table[((unsigned char)((((unsigned char)((c) & 0xff))) & 0xff))] & 0x08)) continue; if ('0' <= c && c <= '9') { num = c - '0'; while ('0' <= (c = *s++) && c <= '9') num = num*10 + (c - '0'); if (c == '\0') break; } else num = 1; e = getentry(c, f); size = align(size, c, e); if (c == 's' || c == 'p') { codes->offset = size; codes->size = num; codes->fmtdef = e; codes->repeat = 1; codes++; size += num; } else if (c == 'x') { size += num; } else if (num) { codes->offset = size; codes->size = e->size; codes->fmtdef = e; codes->repeat = num; codes++; size += e->size * num; } } codes->fmtdef = ((void *)0); codes->offset = size; codes->size = 0; codes->repeat = 0; return 0; overflow: PyErr_SetString(StructError, "total struct size too long"); return -1; } static PyObject * s_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { PyObject *self; ((void)0); self = type->tp_alloc(type, 0); if (self != ((void *)0)) { PyStructObject *s = (PyStructObject*)self; ( ((PyObject*)((&_Py_NoneStruct)))->ob_refcnt++); s->s_format = (&_Py_NoneStruct); s->s_codes = ((void *)0); s->s_size = -1; s->s_len = -1; } return self; } static int s_init(PyObject *self, PyObject *args, PyObject *kwds) { PyStructObject *soself = (PyStructObject *)self; PyObject *o_format = ((void *)0); int ret = 0; static char *kwlist[] = {"format", 0}; ((void)0); if (!_PyArg_ParseTupleAndKeywords_SizeT(args, kwds, "O:Struct", kwlist, &o_format)) return -1; if (((((((PyObject*)(o_format))->ob_type))->tp_flags & ((1L<<28))) != 0)) { o_format = PyUnicode_AsASCIIString(o_format); if (o_format == ((void *)0)) return -1; } else { ( ((PyObject*)(o_format))->ob_refcnt++); } if (!((((((PyObject*)(o_format))->ob_type))->tp_flags & ((1L<<27))) != 0)) { do { if ( --((PyObject*)(o_format))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(o_format)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(o_format)))); } while (0); PyErr_Format(PyExc_TypeError, "Struct() argument 1 must be a bytes object, not %.200s", (((PyObject*)(o_format))->ob_type)->tp_name); return -1; } do { if (soself->s_format) { PyObject *_py_tmp = (PyObject *)(soself->s_format); (soself->s_format) = ((void *)0); do { if ( --((PyObject*)(_py_tmp))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(_py_tmp)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(_py_tmp)))); } while (0); } } while (0); soself->s_format = o_format; ret = prepare_s(soself); return ret; } static void s_dealloc(PyStructObject *s) { if (s->weakreflist != ((void *)0)) PyObject_ClearWeakRefs((PyObject *)s); if (s->s_codes != ((void *)0)) { free(s->s_codes); } do { if ((s->s_format) == ((void *)0)) ; else do { if ( --((PyObject*)(s->s_format))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(s->s_format)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(s->s_format)))); } while (0); } while (0); (((PyObject*)(s))->ob_type)->tp_free((PyObject *)s); } static PyObject * s_unpack_internal(PyStructObject *soself, char *startfrom) { formatcode *code; Py_ssize_t i = 0; PyObject *result = PyTuple_New(soself->s_len); if (result == ((void *)0)) return ((void *)0); for (code = soself->s_codes; code->fmtdef != ((void *)0); code++) { const formatdef *e = code->fmtdef; const char *res = startfrom + code->offset; Py_ssize_t j = code->repeat; while (j--) { PyObject *v; if (e->format == 's') { v = PyBytes_FromStringAndSize(res, code->size); } else if (e->format == 'p') { Py_ssize_t n = *(unsigned char*)res; if (n >= code->size) n = code->size - 1; v = PyBytes_FromStringAndSize(res + 1, n); } else { v = e->unpack(res, e); } if (v == ((void *)0)) goto fail; (((PyTupleObject *)(result))->ob_item[i++] = v); res += code->size; } } return result; fail: do { if ( --((PyObject*)(result))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(result)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(result)))); } while (0); return ((void *)0); } static char s_unpack__doc__[] = "S.unpack(buffer) -> (v1, v2, ...)\n\nReturn a tuple containing values unpacked according to the format\nstring S.format. Requires len(buffer) == S.size. See help(struct)\nfor more on format strings." ; static PyObject * s_unpack(PyObject *self, PyObject *input) { Py_buffer vbuf; PyObject *result; PyStructObject *soself = (PyStructObject *)self; ((void)0); ((void)0); if (PyObject_GetBuffer(input, &vbuf, 0) < 0) return ((void *)0); if (vbuf.len != soself->s_size) { PyErr_Format(StructError, "unpack requires a bytes object of length %zd", soself->s_size); PyBuffer_Release(&vbuf); return ((void *)0); } result = s_unpack_internal(soself, vbuf.buf); PyBuffer_Release(&vbuf); return result; } static char s_unpack_from__doc__[] = "S.unpack_from(buffer, offset=0) -> (v1, v2, ...)\n\nReturn a tuple containing values unpacked according to the format\nstring S.format. Requires len(buffer[offset:]) >= S.size. See\nhelp(struct) for more on format strings." ; static PyObject * s_unpack_from(PyObject *self, PyObject *args, PyObject *kwds) { static char *kwlist[] = {"buffer", "offset", 0}; PyObject *input; Py_ssize_t offset = 0; Py_buffer vbuf; PyObject *result; PyStructObject *soself = (PyStructObject *)self; ((void)0); ((void)0); if (!_PyArg_ParseTupleAndKeywords_SizeT(args, kwds, "O|n:unpack_from", kwlist, &input, &offset)) return ((void *)0); if (PyObject_GetBuffer(input, &vbuf, 0) < 0) return ((void *)0); if (offset < 0) offset += vbuf.len; if (offset < 0 || vbuf.len - offset < soself->s_size) { PyErr_Format(StructError, "unpack_from requires a buffer of at least %zd bytes", soself->s_size); PyBuffer_Release(&vbuf); return ((void *)0); } result = s_unpack_internal(soself, (char*)vbuf.buf + offset); PyBuffer_Release(&vbuf); return result; } typedef struct { PyObject ob_base; PyStructObject *so; Py_buffer buf; Py_ssize_t index; } unpackiterobject; static void unpackiter_dealloc(unpackiterobject *self) { do { if ((self->so) == ((void *)0)) ; else do { if ( --((PyObject*)(self->so))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(self->so)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(self->so)))); } while (0); } while (0); PyBuffer_Release(&self->buf); PyObject_GC_Del(self); } static int unpackiter_traverse(unpackiterobject *self, visitproc visit, void *arg) { do { if (self->so) { int vret = visit((PyObject *)(self->so), arg); if (vret) return vret; } } while (0); do { if (self->buf.obj) { int vret = visit((PyObject *)(self->buf.obj), arg); if (vret) return vret; } } while (0); return 0; } static PyObject * unpackiter_len(unpackiterobject *self) { Py_ssize_t len; if (self->so == ((void *)0)) len = 0; else len = (self->buf.len - self->index) / self->so->s_size; return PyLong_FromSsize_t(len); } static PyMethodDef unpackiter_methods[] = { {"__length_hint__", (PyCFunction) unpackiter_len, 0x0004, ((void *)0)}, {((void *)0), ((void *)0)} }; static PyObject * unpackiter_iternext(unpackiterobject *self) { PyObject *result; if (self->so == ((void *)0)) return ((void *)0); if (self->index >= self->buf.len) { do { if (self->so) { PyObject *_py_tmp = (PyObject *)(self->so); (self->so) = ((void *)0); do { if ( --((PyObject*)(_py_tmp))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(_py_tmp)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(_py_tmp)))); } while (0); } } while (0); PyBuffer_Release(&self->buf); return ((void *)0); } ((void)0); result = s_unpack_internal(self->so, (char*) self->buf.buf + self->index); self->index += self->so->s_size; return result; } static PyTypeObject unpackiter_type = { { { 1, &PyType_Type }, 0 }, "unpack_iterator", sizeof(unpackiterobject), 0, (destructor)unpackiter_dealloc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, PyObject_GenericGetAttr, 0, 0, ( 0 | (1L<<18) | 0) | (1L<<14), 0, (traverseproc)unpackiter_traverse, 0, 0, 0, PyObject_SelfIter, (iternextfunc)unpackiter_iternext, unpackiter_methods }; static char s_iter_unpack__doc__[] = "S.iter_unpack(buffer) -> iterator(v1, v2, ...)\n\nReturn an iterator yielding tuples unpacked from the given bytes\nsource, like a repeated invocation of unpack_from(). Requires\nthat the bytes length be a multiple of the struct size." ; static PyObject * s_iter_unpack(PyObject *_so, PyObject *input) { PyStructObject *so = (PyStructObject *) _so; unpackiterobject *self; ((void)0); ((void)0); if (so->s_size == 0) { PyErr_Format(StructError, "cannot iteratively unpack with a struct of length 0"); return ((void *)0); } self = (unpackiterobject *) PyType_GenericAlloc(&unpackiter_type, 0); if (self == ((void *)0)) return ((void *)0); if (PyObject_GetBuffer(input, &self->buf, 0) < 0) { do { if ( --((PyObject*)(self))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(self)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(self)))); } while (0); return ((void *)0); } if (self->buf.len % so->s_size != 0) { PyErr_Format(StructError, "iterative unpacking requires a bytes length " "multiple of %zd", so->s_size); do { if ( --((PyObject*)(self))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(self)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(self)))); } while (0); return ((void *)0); } ( ((PyObject*)(so))->ob_refcnt++); self->so = so; self->index = 0; return (PyObject *) self; } # 1715 "/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c" static int s_pack_internal(PyStructObject *soself, PyObject *args, int offset, char* buf) { formatcode *code; Py_ssize_t i; memset(buf, '\0', soself->s_size); i = offset; for (code = soself->s_codes; code->fmtdef != ((void *)0); code++) { const formatdef *e = code->fmtdef; char *res = buf + code->offset; Py_ssize_t j = code->repeat; while (j--) { PyObject *v = (((PyTupleObject *)(args))->ob_item[i++]); if (e->format == 's') { Py_ssize_t n; int isstring; void *p; isstring = ((((((PyObject*)(v))->ob_type))->tp_flags & ((1L<<27))) != 0); if (!isstring && !((((PyObject*)(v))->ob_type) == (&PyByteArray_Type) || PyType_IsSubtype((((PyObject*)(v))->ob_type), (&PyByteArray_Type)))) { PyErr_SetString(StructError, "argument for 's' must be a bytes object"); return -1; } if (isstring) { n = (((void)0),(((PyVarObject*)(v))->ob_size)); p = (((void)0), (((PyBytesObject *)(v))->ob_sval)); } else { n = (((void)0),(((PyVarObject*)(v))->ob_size)); p = (((void)0), (((PyVarObject*)(v))->ob_size) ? ((PyByteArrayObject *)(v))->ob_bytes : _PyByteArray_empty_string); } if (n > code->size) n = code->size; if (n > 0) memcpy(res, p, n); } else if (e->format == 'p') { Py_ssize_t n; int isstring; void *p; isstring = ((((((PyObject*)(v))->ob_type))->tp_flags & ((1L<<27))) != 0); if (!isstring && !((((PyObject*)(v))->ob_type) == (&PyByteArray_Type) || PyType_IsSubtype((((PyObject*)(v))->ob_type), (&PyByteArray_Type)))) { PyErr_SetString(StructError, "argument for 'p' must be a bytes object"); return -1; } if (isstring) { n = (((void)0),(((PyVarObject*)(v))->ob_size)); p = (((void)0), (((PyBytesObject *)(v))->ob_sval)); } else { n = (((void)0),(((PyVarObject*)(v))->ob_size)); p = (((void)0), (((PyVarObject*)(v))->ob_size) ? ((PyByteArrayObject *)(v))->ob_bytes : _PyByteArray_empty_string); } if (n > (code->size - 1)) n = code->size - 1; if (n > 0) memcpy(res + 1, p, n); if (n > 255) n = 255; *res = (unsigned char)(n); } else { if (e->pack(res, v, e) < 0) { if (((((((PyObject*)(v))->ob_type))->tp_flags & ((1L<<24))) != 0) && PyErr_ExceptionMatches(PyExc_OverflowError)) PyErr_SetString(StructError, "int too large to convert"); return -1; } } res += code->size; } } return 0; } static char s_pack__doc__[] = "S.pack(v1, v2, ...) -> bytes\n\nReturn a bytes object containing values v1, v2, ... packed according\nto the format string S.format. See help(struct) for more on format\nstrings." ; static PyObject * s_pack(PyObject *self, PyObject *args) { PyStructObject *soself; PyObject *result; soself = (PyStructObject *)self; ((void)0); ((void)0); if ((((PyVarObject*)(args))->ob_size) != soself->s_len) { PyErr_Format(StructError, "pack expected %zd items for packing (got %zd)", soself->s_len, (((PyVarObject*)(args))->ob_size)); return ((void *)0); } result = PyBytes_FromStringAndSize((char *)((void *)0), soself->s_size); if (result == ((void *)0)) return ((void *)0); if ( s_pack_internal(soself, args, 0, (((void)0), (((PyBytesObject *)(result))->ob_sval))) != 0 ) { do { if ( --((PyObject*)(result))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(result)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(result)))); } while (0); return ((void *)0); } return result; } static char s_pack_into__doc__[] = "S.pack_into(buffer, offset, v1, v2, ...)\n\nPack the values v1, v2, ... according to the format string S.format\nand write the packed bytes into the writable buffer buf starting at\noffset. Note that the offset is a required argument. See\nhelp(struct) for more on format strings." ; static PyObject * s_pack_into(PyObject *self, PyObject *args) { PyStructObject *soself; char *buffer; Py_ssize_t buffer_len, offset; soself = (PyStructObject *)self; ((void)0); ((void)0); if ((((PyVarObject*)(args))->ob_size) != (soself->s_len + 2)) { if ((((PyVarObject*)(args))->ob_size) == 0) { PyErr_Format(StructError, "pack_into expected buffer argument"); } else if ((((PyVarObject*)(args))->ob_size) == 1) { PyErr_Format(StructError, "pack_into expected offset argument"); } else { PyErr_Format(StructError, "pack_into expected %zd items for packing (got %zd)", soself->s_len, ((((PyVarObject*)(args))->ob_size) - 2)); } return ((void *)0); } if ( PyObject_AsWriteBuffer((((PyTupleObject *)(args))->ob_item[0]), (void**)&buffer, &buffer_len) == -1 ) { return ((void *)0); } ((void)0); offset = PyNumber_AsSsize_t((((PyTupleObject *)(args))->ob_item[1]), PyExc_IndexError); if (offset == -1 && PyErr_Occurred()) return ((void *)0); if (offset < 0) offset += buffer_len; if (offset < 0 || (buffer_len - offset) < soself->s_size) { PyErr_Format(StructError, "pack_into requires a buffer of at least %zd bytes", soself->s_size); return ((void *)0); } if ( s_pack_internal(soself, args, 2, buffer + offset) != 0 ) { return ((void *)0); } return ( ((PyObject*)((&_Py_NoneStruct)))->ob_refcnt++), (&_Py_NoneStruct); } static PyObject * s_get_format(PyStructObject *self, void *unused) { ( ((PyObject*)(self->s_format))->ob_refcnt++); return self->s_format; } static PyObject * s_get_size(PyStructObject *self, void *unused) { return PyLong_FromSsize_t(self->s_size); } static char s_sizeof__doc__[] = "S.__sizeof__() -> size of S in memory, in bytes" ; static PyObject * s_sizeof(PyStructObject *self, void *unused) { Py_ssize_t size; formatcode *code; size = sizeof(PyStructObject) + sizeof(formatcode); for (code = self->s_codes; code->fmtdef != ((void *)0); code++) size += sizeof(formatcode); return PyLong_FromSsize_t(size); } static struct PyMethodDef s_methods[] = { {"iter_unpack", s_iter_unpack, 0x0008, s_iter_unpack__doc__}, {"pack", s_pack, 0x0001, s_pack__doc__}, {"pack_into", s_pack_into, 0x0001, s_pack_into__doc__}, {"unpack", s_unpack, 0x0008, s_unpack__doc__}, {"unpack_from", (PyCFunction)s_unpack_from, 0x0001|0x0002, s_unpack_from__doc__}, {"__sizeof__", (PyCFunction)s_sizeof, 0x0004, s_sizeof__doc__}, {((void *)0), ((void *)0)} }; static char s__doc__[] = "Struct(fmt) --> compiled struct object\n" "\n" "Return a new Struct object which writes and reads binary data according to\n" "the format string fmt. See help(struct) for more on format strings." ; #define OFF(x) offsetof(PyStructObject, x) static PyGetSetDef s_getsetlist[] = { {"format", (getter)s_get_format, (setter)((void *)0), "struct format string", ((void *)0)}, {"size", (getter)s_get_size, (setter)((void *)0), "struct size in bytes", ((void *)0)}, {((void *)0)} }; static PyTypeObject PyStructType = { { { 1, ((void *)0) }, 0 }, "Struct", sizeof(PyStructObject), 0, (destructor)s_dealloc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, PyObject_GenericGetAttr, PyObject_GenericSetAttr, 0, ( 0 | (1L<<18) | 0) | (1L<<10), s__doc__, 0, 0, 0, __builtin_offsetof (PyStructObject, weakreflist), 0, 0, s_methods, ((void *)0), s_getsetlist, 0, 0, 0, 0, 0, s_init, PyType_GenericAlloc, s_new, PyObject_Free, }; #define MAXCACHE 100 static PyObject *cache = ((void *)0); static PyObject * cache_struct(PyObject *fmt) { PyObject * s_object; if (cache == ((void *)0)) { cache = PyDict_New(); if (cache == ((void *)0)) return ((void *)0); } s_object = PyDict_GetItem(cache, fmt); if (s_object != ((void *)0)) { ( ((PyObject*)(s_object))->ob_refcnt++); return s_object; } s_object = PyObject_CallFunctionObjArgs((PyObject *)(&PyStructType), fmt, ((void *)0)); if (s_object != ((void *)0)) { if (PyDict_Size(cache) >= 100) PyDict_Clear(cache); if (PyDict_SetItem(cache, fmt, s_object) == -1) PyErr_Clear(); } return s_object; } static char clearcache_doc[] = "Clear the internal cache." ; static PyObject * clearcache(PyObject *self) { do { if (cache) { PyObject *_py_tmp = (PyObject *)(cache); (cache) = ((void *)0); do { if ( --((PyObject*)(_py_tmp))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(_py_tmp)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(_py_tmp)))); } while (0); } } while (0); return ( ((PyObject*)((&_Py_NoneStruct)))->ob_refcnt++), (&_Py_NoneStruct); } static char calcsize_doc[] = "calcsize(fmt) -> integer\n\nReturn size in bytes of the struct described by the format string fmt." ; static PyObject * calcsize(PyObject *self, PyObject *fmt) { Py_ssize_t n; PyObject *s_object = cache_struct(fmt); if (s_object == ((void *)0)) return ((void *)0); n = ((PyStructObject *)s_object)->s_size; do { if ( --((PyObject*)(s_object))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(s_object)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(s_object)))); } while (0); return PyLong_FromSsize_t(n); } static char pack_doc[] = "pack(fmt, v1, v2, ...) -> bytes\n\nReturn a bytes object containing the values v1, v2, ... packed according\nto the format string fmt. See help(struct) for more on format strings." ; static PyObject * pack(PyObject *self, PyObject *args) { PyObject *s_object, *fmt, *newargs, *result; Py_ssize_t n = (((PyVarObject*)(args))->ob_size); if (n == 0) { PyErr_SetString(PyExc_TypeError, "missing format argument"); return ((void *)0); } fmt = (((PyTupleObject *)(args))->ob_item[0]); newargs = PyTuple_GetSlice(args, 1, n); if (newargs == ((void *)0)) return ((void *)0); s_object = cache_struct(fmt); if (s_object == ((void *)0)) { do { if ( --((PyObject*)(newargs))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(newargs)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(newargs)))); } while (0); return ((void *)0); } result = s_pack(s_object, newargs); do { if ( --((PyObject*)(newargs))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(newargs)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(newargs)))); } while (0); do { if ( --((PyObject*)(s_object))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(s_object)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(s_object)))); } while (0); return result; } static char pack_into_doc[] = "pack_into(fmt, buffer, offset, v1, v2, ...)\n\nPack the values v1, v2, ... according to the format string fmt and write\nthe packed bytes into the writable buffer buf starting at offset. Note\nthat the offset is a required argument. See help(struct) for more\non format strings." ; static PyObject * pack_into(PyObject *self, PyObject *args) { PyObject *s_object, *fmt, *newargs, *result; Py_ssize_t n = (((PyVarObject*)(args))->ob_size); if (n == 0) { PyErr_SetString(PyExc_TypeError, "missing format argument"); return ((void *)0); } fmt = (((PyTupleObject *)(args))->ob_item[0]); newargs = PyTuple_GetSlice(args, 1, n); if (newargs == ((void *)0)) return ((void *)0); s_object = cache_struct(fmt); if (s_object == ((void *)0)) { do { if ( --((PyObject*)(newargs))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(newargs)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(newargs)))); } while (0); return ((void *)0); } result = s_pack_into(s_object, newargs); do { if ( --((PyObject*)(newargs))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(newargs)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(newargs)))); } while (0); do { if ( --((PyObject*)(s_object))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(s_object)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(s_object)))); } while (0); return result; } static char unpack_doc[] = "unpack(fmt, buffer) -> (v1, v2, ...)\n\nReturn a tuple containing values unpacked according to the format string\nfmt. Requires len(buffer) == calcsize(fmt). See help(struct) for more\non format strings." ; static PyObject * unpack(PyObject *self, PyObject *args) { PyObject *s_object, *fmt, *inputstr, *result; if (!PyArg_UnpackTuple(args, "unpack", 2, 2, &fmt, &inputstr)) return ((void *)0); s_object = cache_struct(fmt); if (s_object == ((void *)0)) return ((void *)0); result = s_unpack(s_object, inputstr); do { if ( --((PyObject*)(s_object))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(s_object)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(s_object)))); } while (0); return result; } static char unpack_from_doc[] = "unpack_from(fmt, buffer, offset=0) -> (v1, v2, ...)\n\nReturn a tuple containing values unpacked according to the format string\nfmt. Requires len(buffer[offset:]) >= calcsize(fmt). See help(struct)\nfor more on format strings." ; static PyObject * unpack_from(PyObject *self, PyObject *args, PyObject *kwds) { PyObject *s_object, *fmt, *newargs, *result; Py_ssize_t n = (((PyVarObject*)(args))->ob_size); if (n == 0) { PyErr_SetString(PyExc_TypeError, "missing format argument"); return ((void *)0); } fmt = (((PyTupleObject *)(args))->ob_item[0]); newargs = PyTuple_GetSlice(args, 1, n); if (newargs == ((void *)0)) return ((void *)0); s_object = cache_struct(fmt); if (s_object == ((void *)0)) { do { if ( --((PyObject*)(newargs))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(newargs)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(newargs)))); } while (0); return ((void *)0); } result = s_unpack_from(s_object, newargs, kwds); do { if ( --((PyObject*)(newargs))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(newargs)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(newargs)))); } while (0); do { if ( --((PyObject*)(s_object))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(s_object)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(s_object)))); } while (0); return result; } static char iter_unpack_doc[] = "iter_unpack(fmt, buffer) -> iterator(v1, v2, ...)\n\nReturn an iterator yielding tuples unpacked from the given bytes\nsource according to the format string, like a repeated invocation of\nunpack_from(). Requires that the bytes length be a multiple of the\nformat struct size." ; static PyObject * iter_unpack(PyObject *self, PyObject *args) { PyObject *s_object, *fmt, *input, *result; if (!_PyArg_ParseTuple_SizeT(args, "OO:iter_unpack", &fmt, &input)) return ((void *)0); s_object = cache_struct(fmt); if (s_object == ((void *)0)) return ((void *)0); result = s_iter_unpack(s_object, input); do { if ( --((PyObject*)(s_object))->ob_refcnt != 0) ; else ( (*(((PyObject*)((PyObject *)(s_object)))->ob_type)->tp_dealloc)((PyObject *)((PyObject *)(s_object)))); } while (0); return result; } static struct PyMethodDef module_functions[] = { {"_clearcache", (PyCFunction)clearcache, 0x0004, clearcache_doc}, {"calcsize", calcsize, 0x0008, calcsize_doc}, {"iter_unpack", iter_unpack, 0x0001, iter_unpack_doc}, {"pack", pack, 0x0001, pack_doc}, {"pack_into", pack_into, 0x0001, pack_into_doc}, {"unpack", unpack, 0x0001, unpack_doc}, {"unpack_from", (PyCFunction)unpack_from, 0x0001|0x0002, unpack_from_doc}, {((void *)0), ((void *)0)} }; static char module_doc[] = "Functions to convert between Python values and C structs.\nPython bytes objects are used to hold the data representing the C struct\nand also as format strings (explained below) to describe the layout of data\nin the C struct.\n\nThe optional first format char indicates byte order, size and alignment:\n @: native order, size & alignment (default)\n =: native order, std. size & alignment\n <: little-endian, std. size & alignment\n >: big-endian, std. size & alignment\n !: same as >\n\nThe remaining chars indicate types of args and must match exactly;\nthese can be preceded by a decimal repeat count:\n x: pad byte (no data); c:char; b:signed byte; B:unsigned byte;\n ?: _Bool (requires C99; if not available, char is used instead)\n h:short; H:unsigned short; i:int; I:unsigned int;\n l:long; L:unsigned long; f:float; d:double.\nSpecial cases (preceding decimal count indicates length):\n s:string (array of char); p: pascal string (with count byte).\nSpecial cases (only available in native format):\n n:ssize_t; N:size_t;\n P:an integer type that is wide enough to hold a pointer.\nSpecial case (not in native mode unless 'long long' in platform C):\n q:long long; Q:unsigned long long\nWhitespace between formats is ignored.\n\nThe variable struct.error is an exception raised on errors.\n" # 2250 "/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c" ; static struct PyModuleDef _structmodule = { { { 1, ((void *)0) }, ((void *)0), 0, ((void *)0), }, "_struct", module_doc, -1, module_functions, ((void *)0), ((void *)0), ((void *)0), ((void *)0) }; __attribute__((dllexport)) PyObject* PyInit__struct(void) { PyObject *m; m = PyModule_Create2(&_structmodule, 1013); if (m == ((void *)0)) return ((void *)0); (((PyObject*)(&PyStructType))->ob_type) = &PyType_Type; if (PyType_Ready(&PyStructType) < 0) return ((void *)0); { formatdef *native = native_table; formatdef *other, *ptr; other = bigendian_table; while (native->format != '\0' && other->format != '\0') { ptr = other; while (ptr->format != '\0') { if (ptr->format == native->format) { if (ptr == other) other++; if (ptr->size != native->size) break; if (ptr->format == 'd' || ptr->format == 'f') break; ptr->pack = native->pack; ptr->unpack = native->unpack; break; } ptr++; } native++; } } if (StructError == ((void *)0)) { StructError = PyErr_NewException("struct.error", ((void *)0), ((void *)0)); if (StructError == ((void *)0)) return ((void *)0); } ( ((PyObject*)(StructError))->ob_refcnt++); PyModule_AddObject(m, "error", StructError); ( ((PyObject*)((PyObject*)&PyStructType))->ob_refcnt++); PyModule_AddObject(m, "Struct", (PyObject*)&PyStructType); return m; } cm@bewxb1169 /cygdrive/c/temp/Python-3.3.2 $