Skip to content

Commit 21e4ab7

Browse files
committed
Add major error class for r-tree
1 parent b8620f9 commit 21e4ab7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/H5RTmodule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
#define H5RT_MODULE
2525
// TODO
26-
#define H5_MY_PKG_ERR H5E_BTREE
26+
#define H5_MY_PKG_ERR H5E_RTREE
2727
#define H5_MY_PKG_INIT NO
2828

2929
#endif /* H5RTmodule_H */

src/H5RTprivate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ typedef struct H5RT_t H5RT_t;
2323

2424
/* Struct representing a leaf in the r-tree */
2525
typedef struct H5RT_leaf_t {
26-
void *record;
26+
uintptr_t record;
2727
hsize_t min[H5S_MAX_RANK];
2828
hsize_t max[H5S_MAX_RANK];
2929
hsize_t mid[H5S_MAX_RANK];

src/H5err.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ MAJOR, H5E_CONTEXT, API Context
7979
MAJOR, H5E_MAP, Map
8080
MAJOR, H5E_EVENTSET, Event Set
8181
MAJOR, H5E_THREADSAFE, Threadsafety
82+
MAJOR, H5E_RTREE, R-Tree spatial index
8283
MAJOR, H5E_NONE_MAJOR, No error
8384

8485
# Sections (for grouping minor errors)

0 commit comments

Comments
 (0)