123456789101112131415161718192021222324252627282930313233343536373839 |
- /*############################################################################
- #
- # Copyright (c) 2004 Zope Foundation and Contributors.
- # All Rights Reserved.
- #
- # This software is subject to the provisions of the Zope Public License,
- # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
- # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
- # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
- # FOR A PARTICULAR PURPOSE.
- #
- ############################################################################*/
-
- #define MASTER_ID "$Id$\n"
-
- /* IOBTree - int key, object value BTree
-
- Implements a collection using int type keys
- and object type values
- */
-
- #define PERSISTENT
-
- #define MOD_NAME_PREFIX "IO"
-
- #define DEFAULT_MAX_BUCKET_SIZE 60
- #define DEFAULT_MAX_BTREE_SIZE 500
-
- #include "_compat.h"
- #include "intkeymacros.h"
- #include "objectvaluemacros.h"
-
- #ifdef PY3K
- #define INITMODULE PyInit__IOBTree
- #else
- #define INITMODULE init_IOBTree
- #endif
- #include "BTreeModuleTemplate.c"
|