_OIBTree.c 1.03 KB
Newer Older
1 2
/*############################################################################
#
3
# Copyright (c) 2004 Zope Foundation and Contributors.
4 5 6
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Jim Fulton's avatar
Jim Fulton committed
7
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
8 9 10 11 12 13
# 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.
#
############################################################################*/
Jim Fulton's avatar
Jim Fulton committed
14

15
#define MASTER_ID "$Id$\n"
16 17 18 19 20 21

/* OIBTree - object key, int value BTree

   Implements a collection using object type keys
   and int type values
*/
22

Jim Fulton's avatar
Jim Fulton committed
23 24
#define PERSISTENT

25
#define MOD_NAME_PREFIX "OI"
26
#define INITMODULE init_OIBTree
27 28
#define DEFAULT_MAX_BUCKET_SIZE 60
#define DEFAULT_MAX_BTREE_SIZE 250
29 30 31
                                
#include "objectkeymacros.h"
#include "intvaluemacros.h"
32
#include "BTreeModuleTemplate.c"