1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /*############################################################################
- #
- # 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: _IOBTree.c 25186 2004-06-02 15:07:33Z jim $\n"
-
- /* IOBTree - int key, object value BTree
-
- Implements a collection using int type keys
- and object type values
- */
-
- #define PERSISTENT
-
- #define MOD_NAME_PREFIX "LO"
-
- #define DEFAULT_MAX_BUCKET_SIZE 60
- #define DEFAULT_MAX_BTREE_SIZE 500
-
- #define ZODB_64BIT_INTS
-
- #include "_compat.h"
- #include "intkeymacros.h"
- #include "objectvaluemacros.h"
-
- #ifdef PY3K
- #define INITMODULE PyInit__LOBTree
- #else
- #define INITMODULE init_LOBTree
- #endif
- #include "BTreeModuleTemplate.c"
|