Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_OLBTree.c 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*############################################################################
  2. #
  3. # Copyright (c) 2004 Zope Foundation and Contributors.
  4. # All Rights Reserved.
  5. #
  6. # This software is subject to the provisions of the Zope Public License,
  7. # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
  8. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
  9. # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  10. # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
  11. # FOR A PARTICULAR PURPOSE.
  12. #
  13. ############################################################################*/
  14. #define MASTER_ID "$Id: _OIBTree.c 25186 2004-06-02 15:07:33Z jim $\n"
  15. /* OIBTree - object key, int value BTree
  16. Implements a collection using object type keys
  17. and int type values
  18. */
  19. #define PERSISTENT
  20. #define MOD_NAME_PREFIX "OL"
  21. #define DEFAULT_MAX_BUCKET_SIZE 60
  22. #define DEFAULT_MAX_BTREE_SIZE 250
  23. #define ZODB_64BIT_INTS
  24. #include "_compat.h"
  25. #include "objectkeymacros.h"
  26. #include "intvaluemacros.h"
  27. #ifdef PY3K
  28. #define INITMODULE PyInit__OLBTree
  29. #else
  30. #define INITMODULE init_OLBTree
  31. #endif
  32. #include "BTreeModuleTemplate.c"