1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#ifndef YCONFIG_H
#define YCONFIG_H
#include "Python.h"
#if defined(MS_WINDOWS)
#define _WINDOWS
#elif (defined(__MACH__) && defined(__APPLE__))
#define _MACH
#else /* *nix */
#define _UNIX
#endif
#ifndef _MSC_VER /* non-windows compiler */
#include "stdint.h"
#endif
// static pool sizes
#define FL_PIT_SIZE 1000
#define FL_CTX_SIZE 100
#define HT_PIT_SIZE 10
#define HT_TAG_SIZE 10
#define HT_TAGGED_PIT_SIZE 4
#define HT_CTX_SIZE 10
#define HT_RLEVEL_SIZE 10
#define DEFAULT_TEST_ELAPSED_TIME 3
#endif
|