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.

_LLBTree.c 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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: _IIBTree.c 25186 2004-06-02 15:07:33Z jim $\n"
  15. /* IIBTree - int key, int value BTree
  16. Implements a collection using int type keys
  17. and int type values
  18. */
  19. /* Setup template macros */
  20. #define PERSISTENT
  21. #define MOD_NAME_PREFIX "LL"
  22. #define DEFAULT_MAX_BUCKET_SIZE 120
  23. #define DEFAULT_MAX_BTREE_SIZE 500
  24. #define ZODB_64BIT_INTS
  25. #include "_compat.h"
  26. #include "intkeymacros.h"
  27. #include "intvaluemacros.h"
  28. #ifdef PY3K
  29. #define INITMODULE PyInit__LLBTree
  30. #else
  31. #define INITMODULE init_LLBTree
  32. #endif
  33. #include "BTreeModuleTemplate.c"